api no longer fails when no pilots or logbook entries

This commit is contained in:
2024-12-01 11:10:13 -06:00
parent cd21f5170f
commit 28115bbcaa
4 changed files with 61 additions and 43 deletions

View File

@@ -7,22 +7,22 @@ on:
- main
jobs:
build-deploy-api:
if: github.event_name == 'pull_request' && github.event.action != 'closed'
name: build-deploy-api
uses: ./.github/workflows/api.yaml
with:
calling_workflow: dev
secrets: inherit
# build-deploy-api:
# if: github.event_name == 'pull_request' && github.event.action != 'closed'
# name: build-deploy-api
# uses: ./.github/workflows/api.yaml
# with:
# calling_workflow: dev
# secrets: inherit
build-deploy-app:
if: github.event_name == 'pull_request' && github.event.action != 'closed'
name: build-deploy-app
uses: ./.github/workflows/app.yaml
with:
calling_workflow: dev
deployment_environment: staging
secrets: inherit
# build-deploy-app:
# if: github.event_name == 'pull_request' && github.event.action != 'closed'
# name: build-deploy-app
# uses: ./.github/workflows/app.yaml
# with:
# calling_workflow: dev
# deployment_environment: staging
# secrets: inherit
close-pull-request-job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'