Skip to content

fix(config): deployment waits on release #14

fix(config): deployment waits on release

fix(config): deployment waits on release #14

Workflow file for this run

name: CI/CD Pipeline
permissions:
contents: write
id-token: write
pages: write
pull-requests: write
on:
pull_request:
push:
branches:
- main
- dev
jobs:
lint:
uses: kurocado-studio/styleguide/.github/workflows/composite.lint.yml@main
secrets: inherit
test:
needs: lint
uses: kurocado-studio/styleguide/.github/workflows/composite.test.yml@main
secrets: inherit
document:
needs: test
uses: kurocado-studio/styleguide/.github/workflows/composite.document.yml@main
secrets: inherit
release:
needs: document
uses: kurocado-studio/styleguide/.github/workflows/composite.release.yml@main
secrets: inherit
if: |
github.event_name == 'push' &&
github.ref == 'refs/heads/main'
deploy:
needs: release
name: Deploy app
runs-on: ubuntu-latest
concurrency: deploy-group
if: |
github.event_name == 'push' &&
(
github.ref == 'refs/heads/main' ||
github.ref == 'refs/heads/dev'
)
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}