@@ -9,11 +9,6 @@ name: Stage Build
99# https://docs.google.com/spreadsheets/d/1VnnEl-iTtKYmlyN02FiEXygxZCgE4o_ZO8wSleebne4/edit?usp=sharing
1010#
1111
12- env :
13- DEFAULT_DEPLOYMENT_PREFIX : " main"
14- DEFAULT_NOTES : " "
15- DEFAULT_LOG_EACH_SUCCESSFUL_UPLOAD : " false"
16-
1712on :
1813 schedule :
1914 - cron : " 0 0 * * *"
2318 notes :
2419 description : " Notes"
2520 required : false
26- default : ${DEFAULT_NOTES}
27-
28- # This is very useful when combined with the "Use workflow from"
29- # feature that is built into the "Run workflow" button on
30- # https://github.com/mdn/dex/actions?query=workflow%3A%22Production+Build%22
31- # If you override the deployment prefix to something like the name
32- # of the branch, you can deploy that entire branch to its own prefix
33- # in S3 which means that it can be fully hosted as its own site.
34- deployment_prefix :
35- description : " Deployment prefix"
36- required : false
37- default : ${DEFAULT_DEPLOYMENT_PREFIX}
38-
39- log_each_successful_upload :
40- description : " Deployer logs each success"
41- required : false
42- default : ${DEFAULT_LOG_EACH_SUCCESSFUL_UPLOAD}
21+ default : " "
4322
4423 invalidate :
4524 description : " Invalidate CDN (use only in exceptional circumstances)"
@@ -221,13 +200,9 @@ jobs:
221200
222201 - name : Print information about build
223202 env :
224- NOTES : ${{ github.event.inputs.notes || env.DEFAULT_NOTES }}
225- LOG_EACH_SUCCESSFUL_UPLOAD : ${{ github.event.inputs.log_each_successful_upload || env.DEFAULT_LOG_EACH_SUCCESSFUL_UPLOAD }}
226- DEPLOYMENT_PREFIX : ${{ github.event.inputs.deployment_prefix || env.DEFAULT_DEPLOYMENT_PREFIX }}
203+ NOTES : ${{ github.event.inputs.notes }}
227204 run : |
228205 echo "notes: $NOTES"
229- echo "log_each_successful_upload: $LOG_EACH_SUCCESSFUL_UPLOAD"
230- echo "deployment_prefix: $DEPLOYMENT_PREFIX"
231206
232207 - name : Print information about CPU
233208 run : cat /proc/cpuinfo
0 commit comments