From 042cc4a8fab153e0556461cf14f21ed4d7b8b37e Mon Sep 17 00:00:00 2001 From: skedwards88 Date: Fri, 10 May 2024 06:30:31 -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 2a015c9..0572dc4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 @@ -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: | @@ -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