Skip to content

Content release: Staging #74

Content release: Staging

Content release: Staging #74

name: "Content release: Staging"
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