Skip to content

Commit

Permalink
Merge pull request #34 from mtgbl/update-actions
Browse files Browse the repository at this point in the history
Update deploy-pages & upload-pages-artifact
  • Loading branch information
pfirpfel authored Jan 6, 2024
2 parents e6fe68f + 4b24f95 commit a35d9f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: bundle exec jekyll build

- name: Upload pages artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
if: github.ref == 'refs/heads/main'
with:
path: _site/
Expand All @@ -34,10 +34,11 @@ jobs:
permissions:
pages: write
id-token: write
actions: read
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4

0 comments on commit a35d9f8

Please sign in to comment.