api no longer fails when no pilots or logbook entries

This commit is contained in:
2024-12-01 15:09:32 -06:00
parent 5e70b8fd6b
commit deb2626b27
3 changed files with 7 additions and 15 deletions

View File

@@ -29,18 +29,6 @@ jobs:
run: |
echo "modified_files=${MODIFIED_FILES}" >> "$GITHUB_OUTPUT"
github-output:
name: git-hub-output
needs:
- changed-files
runs-on: ubuntu-latest
steps:
- name: GitHub output
env:
OUTPUT: ${{ needs.changed-files.outputs.modified_files }}
run: |
echo '${{ toJSON(needs.changed-files.outputs) }}'
build-deploy-api:
if: contains(needs.changed-files.outputs.modified_files, 'api')
name: build-deploy-api
@@ -49,6 +37,7 @@ jobs:
uses: ./.github/workflows/api.yaml
with:
calling_workflow: dev
version_number: ${{ github.run_id }}
secrets: inherit
build-deploy-app: