Skip to content

Commit

Permalink
Update deploy-to-production.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hakonhjaltalin authored Mar 6, 2024
1 parent 9c9d09c commit 54f167c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/deploy-to-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
branches:
- master
repository_dispatch:
types: rebuild-production-dev
types: rebuild-production

permissions:
contents: write
Expand All @@ -35,6 +35,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
ref: master
persist-credentials: false
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1
Expand All @@ -46,3 +47,11 @@ jobs:
bundle config path vendor/bundle
bundle install
JEKYLL_ENV=production bundle exec jekyll build --config _config.yml,_config_prod.yml
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
REPOSITORY_NAME: hagstofan/heimsmarkmid-prod
ACCESS_TOKEN: ${{ secrets.HAGSTOFA_PROD }}
BRANCH: main
FOLDER: _site
CLEAN: true

0 comments on commit 54f167c

Please sign in to comment.