diff --git a/.github/workflows/main_deploy.yaml b/.github/workflows/main_deploy.yaml index 0dea6ec7f..1a817f006 100644 --- a/.github/workflows/main_deploy.yaml +++ b/.github/workflows/main_deploy.yaml @@ -30,7 +30,7 @@ jobs: run: flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --release --source-maps --base-href "/nightly/" - run: mv build/web/ public - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: personal_token: ${{ secrets.PAGES_DEPLOY_TOKEN }} publish_dir: ./public diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8a619cf19..6d2ba6360 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -59,7 +59,7 @@ jobs: cp public/web -r public/nightly - name: Deploy to GitHub Pages if: startsWith(github.ref, 'refs/tags/v') - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: personal_token: ${{ secrets.PAGES_DEPLOY_TOKEN }} publish_dir: ./public