Files
noahspan-flying/.github/workflows/main.yaml

33 lines
597 B
YAML

name: Main
on:
push:
branches:
- main
jobs:
changes:
uses: ./.github/workflows/changes.yaml
build:
if: ${{ needs.changes.outputs.app == 'true' }}
name: build
needs:
- changes
uses: ./.github/workflows/build.yaml
with:
environment_name: test
version_number: ${{ github.run_id }}
secrets: inherit
deploy:
name: deploy
needs:
- changes
- build
uses: ./.github/workflows/deploy.yaml
with:
app_name: flying
environment_name: test
version_number: ${{ github.run_id }}
secrets: inherit