From 0aac08f6197b62a89f5f2811ccbd3240621e789f Mon Sep 17 00:00:00 2001 From: skedwards88 Date: Fri, 10 May 2024 06:26:17 -0700 Subject: [PATCH] upgrade actions in deploy workflow --- .github/workflows/deploy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0dbabed..c318f44 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: @@ -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 @@ -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