Skip to content

Commit

Permalink
upgrade actions in deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
skedwards88 committed May 10, 2024
1 parent dbab54e commit 042cc4a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:
contents: write # Required for pushing changes (read-only required for deployment)
pages: write # Required for deployment
id-token: write # Required for deployment
actions: read # Required for deployment

concurrency:
group: github-pages
Expand All @@ -26,7 +27,7 @@ jobs:
run: |
curl https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.3.0-mac-arm64.tar.gz | tar zvxf -
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup git config
run: |
Expand All @@ -50,13 +51,13 @@ jobs:
run: npm run build

- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: "./dist/"

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit 042cc4a

Please sign in to comment.