diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml index ca7668d..cbf1964 100644 --- a/.github/workflows/frontend.yaml +++ b/.github/workflows/frontend.yaml @@ -57,19 +57,9 @@ jobs: path: ./firebird-ng/dist/ deploy: - if: github.ref == 'refs/heads/master' || endsWith(github.ref, '-ci') + if: github.ref == 'refs/heads/main' || endsWith(github.ref, '-ci') needs: build - permissions: - pages: write - id-token: write - pull-requests: write - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest - defaults: - run: - working-directory: ./ steps: - uses: actions/checkout@v4 @@ -85,12 +75,12 @@ jobs: ls -latrh ./dist echo "--- ls ./dist/firebird" ls -latrh ./dist/firebird - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 - # - name: Deploy to GitHub Pages -# uses: peaceiris/actions-gh-pages@v4 -# with: -# github_token: ${{ secrets.GITHUB_TOKEN }} -# publish_dir: ./dist/firebird +# id: deployment +# uses: actions/deploy-pages@v4 + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist/firebird