File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 9
9
builder-host :
10
10
required : true
11
11
type : string
12
+ secrets :
13
+ PRIVATE_GITHUB_DEPLOY_TOKEN :
14
+ required : true
12
15
13
16
permissions :
14
17
contents : read # to fetch code (actions/checkout)
23
26
24
27
runs-on : ${{ matrix.os }}
25
28
26
- environment :
27
- name : staging
28
-
29
29
env :
30
30
DATABASE_URL : postgres://
31
31
AUTH_SECRET : test
37
37
with :
38
38
ref : ${{ github.event.pull_request.head.sha || github.sha }}
39
39
40
- - run : |
41
- echo "Secrets available: ${{ secrets.PRIVATE_GITHUB_DEPLOY_TOKEN != '' }}"
42
-
43
40
- uses : ./.github/actions/submodules-checkout
44
41
with :
45
42
submodules-ssh-key : ${{ secrets.PRIVATE_GITHUB_DEPLOY_TOKEN }}
Original file line number Diff line number Diff line change @@ -83,13 +83,16 @@ jobs:
83
83
outputs :
84
84
builder-url : " https://${{ steps.vercel.outputs.alias }}.${{ matrix.environment }}.webstudio.is"
85
85
builder-host : " ${{ steps.vercel.outputs.alias }}.${{ matrix.environment }}.webstudio.is"
86
+ PRIVATE_GITHUB_DEPLOY_TOKEN : ${{ secrets.PRIVATE_GITHUB_DEPLOY_TOKEN }}
86
87
87
88
fixtures-test :
88
89
needs : deployment
89
90
uses : ./.github/workflows/fixtures-test.yml
90
91
with :
91
92
builder-url : ${{ needs.deployment.outputs.builder-url }}
92
93
builder-host : ${{ needs.deployment.outputs.builder-host }}
94
+ secrets :
95
+ PRIVATE_GITHUB_DEPLOY_TOKEN : ${{ needs.deployment.outputs.PRIVATE_GITHUB_DEPLOY_TOKEN }}
93
96
94
97
delete-github-deployments :
95
98
needs : fixtures-test
You can’t perform that action at this time.
0 commit comments