Merge pull request #993 from datacite/contact-serializer #462
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
name: Deploy Main to Staging | |
on: | |
push: | |
branches: | |
- "master" | |
jobs: | |
lint: | |
uses: ./.github/workflows/rubocop.yml | |
test: | |
uses: ./.github/workflows/parallel_ci.yml | |
secrets: inherit | |
call_build_and_push: | |
needs: test | |
uses: ./.github/workflows/build.yml | |
with: | |
image_name: ${{ github.repository }} | |
image_tag: main | |
secrets: inherit | |
deploy: | |
needs: [test, call_build_and_push] | |
uses: ./.github/workflows/_update_terraform.yml | |
with: | |
image_tag: main | |
deployment_environment: staging | |
secrets: inherit |