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