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 8d79060 commit 0aac08f
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 @@ -20,6 +20,7 @@ permissions:
contents: write # Required for bumping version (read-only required for deployment)
pages: write # Required for deployment
id-token: write # Required for deployment
actions: read # Required for deployment

# Allow one concurrent deployment
concurrency:
Expand All @@ -34,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install requirements
run: npm ci
Expand Down Expand Up @@ -77,13 +78,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 0aac08f

Please sign in to comment.