File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -18,21 +18,20 @@ permissions:
1818 id-token : write
1919
2020env :
21- # inputs are only defined on a dispatch event, so to test we provide a default...
2221 TARGET : ${{ inputs.environment || 'staging' }}
22+ ACCT : ${{ inputs.environment == 'production' && '990880627107' || '327995277200' }}
23+ BUCKET : ${{ inputs.environment == 'production' && 'tiny-cloud-antora-docs-release' || 'tiny-cloud-antora-docs-preview' }}
24+ RUN : run-${{ github.run_number }}-${{ github.run_attempt }}
2325
2426jobs :
2527 build :
2628 name : Build Docs and Deploy
2729
2830 if : github.repository == 'tinymce/tinymce-docs' && github.repository_owner == 'tinymce'
2931
30- runs-on : ubuntu-latest
31-
3232 env :
33- ACCT : ${{ env.TARGET == 'production' && '990880627107' || '327995277200' }}
34- BUCKET : ${{ env.TARGET == 'production' && 'tiny-cloud-antora-docs-release' || 'tiny-cloud-antora-docs-preview' }}
35- RUN : run-${{ github.run_number }}-${{ github.run_attempt }}
33+
34+ runs-on : ubuntu-latest
3635
3736 defaults :
3837 run :
You can’t perform that action at this time.
0 commit comments