From 91a66f92a5fbd37daf4da1a98a77a477a9c6a13c Mon Sep 17 00:00:00 2001 From: Natalie Moore Date: Wed, 21 Jun 2023 17:20:56 -0500 Subject: [PATCH] try new deployment method to GH pages; --- .github/workflows/deploy.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 58a4f76..6a2a9b3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,7 +6,13 @@ on: - master permissions: - contents: write + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false jobs: gh-deploy: @@ -20,7 +26,12 @@ jobs: run: npm install - name: Build run: npm run build - - name: Deploy - uses: JamesIves/github-pages-deploy-action@v4 + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 with: - folder: dist \ No newline at end of file + path: 'dist/' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 \ No newline at end of file