From 83b703e31e359e030442fd7780e39ac64d93dbea Mon Sep 17 00:00:00 2001 From: Dmitry Romanov Date: Wed, 29 May 2024 18:24:39 -0400 Subject: [PATCH] Upload to GitHub pages without a branch CI tweak #1 --- .github/workflows/frontend.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml index 1ab5b09..e97df25 100644 --- a/.github/workflows/frontend.yaml +++ b/.github/workflows/frontend.yaml @@ -86,8 +86,13 @@ jobs: run: | cp ./dist/firebird/index.html ./dist/firebird/404.html - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./dist/firebird + # Upload entire repository + path: './dist/firebird' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4