Skip to content

Commit

Permalink
[ci] Cleanup file
Browse files Browse the repository at this point in the history
  • Loading branch information
DraTeots committed May 9, 2024
1 parent 94e3be0 commit 06c63f3
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions .github/workflows/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 06c63f3

Please sign in to comment.