From 06c63f3cba54d8aabc93f4c154f5f928bf9ca3d5 Mon Sep 17 00:00:00 2001 From: Dmitry Romanov Date: Thu, 9 May 2024 15:20:03 -0400 Subject: [PATCH] [ci] Cleanup file --- .github/workflows/frontend.yaml | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) 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