Nightly Releases - Schedule #137
This file contains hidden or 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: Nightly Releases - Schedule | |
on: | |
schedule: | |
- cron: "3 0 * * *" | |
workflow_dispatch: | |
jobs: | |
develop: | |
permissions: | |
packages: write | |
contents: write | |
uses: ./.github/workflows/release.yml | |
secrets: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
registry: ${{ secrets.HEC_PUB_REGISTRY}} | |
registry_user: ${{ secrets.ALT_REG_USER }} | |
registry_password: ${{ secrets.ALT_REG_PASSWORD }} | |
with: | |
branch: "develop" | |
nightly: true | |
# Deploy CDA nightly. Keeps everyone on their toes with new updates and keeps the containers | |
# Updated | |
deploy-develop: | |
permissions: | |
id-token: write | |
contents: read | |
needs: develop | |
uses: ./.github/workflows/deploy.yml | |
secrets: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
api_image: ${{needs.develop.outputs.api_image}} | |
migration_image: ${{needs.develop.outputs.migration_image}} | |
region: us-gov-west-1 | |
iam_role: arn:aws-us-gov:iam::718787032875:role/github-actions-ecr-cwms-data-api |