Skip to content

Commit

Permalink
[CI] Establish CI and CD
Browse files Browse the repository at this point in the history
* [ci] Cleanup workflow file
  • Loading branch information
DraTeots authored May 10, 2024
1 parent 15369cb commit bbfd8f7
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 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'
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 @@ -78,6 +68,7 @@ jobs:
with:
name: github-pages
path: ./dist/

- name: Introspect
run: |
echo "--- pwd"
Expand All @@ -88,6 +79,7 @@ jobs:
ls -latrh ./dist
echo "--- ls ./dist/firebird"
ls -latrh ./dist/firebird
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
Expand Down

0 comments on commit bbfd8f7

Please sign in to comment.