From 76b582397add7a6f586f4c717c0351c5b694883a Mon Sep 17 00:00:00 2001 From: Cannon Lock Date: Tue, 28 Nov 2023 15:32:01 -0600 Subject: [PATCH] Update the deployment process --- .github/workflows/nextjs.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index a0f45bd3b..640c8733b 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -79,19 +79,8 @@ jobs: run: | yarn run export find ./out | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/" - - name: Upload artifact - uses: actions/upload-pages-artifact@v2 - with: - path: ./src/out - # Deployment job - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2 + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: ./src/out # The folder the action should deploy.