Content release: Staging #1
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: "Content release: Dev" | |
on: | |
# Can be manually triggered | |
workflow_dispatch: | |
# Runs 5:35 am EDT Monday to Friday. | |
# This currently UTC -> EDT. | |
schedule: | |
- cron: "35 9 * * 1-5" | |
# Runs each time there is a new Production Tag created. | |
workflow_run: | |
workflows: ['Create Production Tag'] | |
types: [completed] | |
branches: [main] | |
concurrency: next-build-content-release-staging | |
jobs: | |
content-release-staging: | |
# This job should run for any valid event besides workflow_run, or workflow_run if the conclusion was successful. | |
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }} | |
uses: department-of-veterans-affairs/next-build/.github/workflows/content-release.yml@main | |
with: | |
build_type: "staging" | |
secrets: inherit | |