Skip to content

Commit

Permalink
Don't use container-env file; run builds every night if changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneselvans committed Jan 4, 2024
1 parent 5866d78 commit ea3be0d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-deploy-pudl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
tags:
- "v20*"
schedule:
- cron: "0 6 * * 1-5" # Weekdays at midnight on MST
# 6am UTC daily (11pm PDT, 2am EDT)
# But only if there are changes since the last nightly build.
- cron: "0 6 * * *"

env:
GCP_BILLING_PROJECT: ${{ secrets.GCP_BILLING_PROJECT }}
Expand Down Expand Up @@ -133,7 +135,6 @@ jobs:
--container-arg='' \
--container-arg="bash" \
--container-arg="./docker/gcp_pudl_etl.sh" \
--container-env-file="./docker/.env" \
--container-env BUILD_REF=${{ github.ref_name }} \
--container-env BUILD_ID=${{ env.BUILD_ID }} \
--container-env NIGHTLY_TAG=${{ env.NIGHTLY_TAG }} \
Expand Down

0 comments on commit ea3be0d

Please sign in to comment.