Files
noahspan-root/.github/workflows/main.yaml
noahspannbauer a7ffdd0900 Moving app to azure storage (#16)
* Moving app to azure storage

* Moving app to azure storage

* Moving app to azure storage
2025-04-19 09:31:58 -05:00

56 lines
1.1 KiB
YAML

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