Skip to content

Commit 2c1da50

Browse files
committed
Fix
1 parent 5adf938 commit 2c1da50

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/fixtures-test.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
builder-host:
1010
required: true
1111
type: string
12+
secrets:
13+
PRIVATE_GITHUB_DEPLOY_TOKEN:
14+
required: true
1215

1316
permissions:
1417
contents: read # to fetch code (actions/checkout)
@@ -23,9 +26,6 @@ jobs:
2326

2427
runs-on: ${{ matrix.os }}
2528

26-
environment:
27-
name: staging
28-
2929
env:
3030
DATABASE_URL: postgres://
3131
AUTH_SECRET: test
@@ -37,9 +37,6 @@ jobs:
3737
with:
3838
ref: ${{ github.event.pull_request.head.sha || github.sha }}
3939

40-
- run: |
41-
echo "Secrets available: ${{ secrets.PRIVATE_GITHUB_DEPLOY_TOKEN != '' }}"
42-
4340
- uses: ./.github/actions/submodules-checkout
4441
with:
4542
submodules-ssh-key: ${{ secrets.PRIVATE_GITHUB_DEPLOY_TOKEN }}

.github/workflows/vercel-deploy-staging.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,16 @@ jobs:
8383
outputs:
8484
builder-url: "https://${{ steps.vercel.outputs.alias }}.${{ matrix.environment }}.webstudio.is"
8585
builder-host: "${{ steps.vercel.outputs.alias }}.${{ matrix.environment }}.webstudio.is"
86+
PRIVATE_GITHUB_DEPLOY_TOKEN: ${{ secrets.PRIVATE_GITHUB_DEPLOY_TOKEN }}
8687

8788
fixtures-test:
8889
needs: deployment
8990
uses: ./.github/workflows/fixtures-test.yml
9091
with:
9192
builder-url: ${{ needs.deployment.outputs.builder-url }}
9293
builder-host: ${{ needs.deployment.outputs.builder-host }}
94+
secrets:
95+
PRIVATE_GITHUB_DEPLOY_TOKEN: ${{ needs.deployment.outputs.PRIVATE_GITHUB_DEPLOY_TOKEN }}
9396

9497
delete-github-deployments:
9598
needs: fixtures-test

0 commit comments

Comments
 (0)