Fast API for interacting with S3 server. #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
actions: read | ||
jobs: | ||
test-python: | ||
uses: NERC-CEH/dri-cicd/.github/workflows/test-python.yml@main | ||
build-test-docker: | ||
uses: NERC-CEH/dri-cicd/.github/workflows/build-docker.yml@main | ||
with: | ||
package_name: os_api | ||
test_image: false | ||
deploy-docker: | ||
uses: NERC-CEH/dri-cicd/.github/workflows/deploy-docker.yml@main | ||
with: | ||
image_artifact_name: ${{ needs.build-test-docker.outputs.image_artifact_name }} | ||
image_artifact_file: ${{ needs.build-test-docker.outputs.image_artifact_file }} | ||
image_name: ${{ needs.build-test-docker.outputs.image_name }} | ||
if: ${{ github.ref_name == 'main' || github.head_ref == 'main'}} | ||
needs: [test-python, build-test-docker] | ||
secrets: | ||
AWS_REGION: ${{ secrets.AWS_REGION }} | ||
AWS_ROLE_ARN: ${{ secrets.AWS_ROLE_ARN }} | ||
build-docs: | ||
uses: NERC-CEH/dri-cicd/.github/workflows/build-docs.yml@main | ||
deploy-docs: | ||
uses: NERC-CEH/dri-cicd/.github/workflows/deploy-docs.yml@main | ||
Check failure on line 36 in .github/workflows/pipeline.yml GitHub Actions / .github/workflows/pipeline.ymlInvalid workflow file
|
||
with: | ||
pages_artifact_name: ${{ needs.build-docs.outputs.pages_artifact_name }} | ||
if: ${{ github.ref_name == 'main' || github.head_ref == 'main'}} | ||
needs: [test-python, build-docs, build-test-docker] |