Skip to content

Commit 02243c6

Browse files
committed
Test env
1 parent cecca0e commit 02243c6

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.github/workflows/fixtures-test.yml

Lines changed: 4 additions & 0 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)
@@ -33,6 +36,7 @@ jobs:
3336
- uses: actions/checkout@v4
3437
with:
3538
ref: ${{ github.event.pull_request.head.sha || github.sha }}
39+
3640
- uses: ./.github/actions/submodules-checkout
3741
with:
3842
submodules-ssh-key: ${{ secrets.PRIVATE_GITHUB_DEPLOY_TOKEN }}

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
checks:
1919
timeout-minutes: 20
2020

21+
environment:
22+
name: development
23+
2124
env:
2225
DATABASE_URL: postgres://
2326
AUTH_SECRET: test
@@ -59,6 +62,9 @@ jobs:
5962
check-size:
6063
runs-on: ubuntu-latest
6164

65+
environment:
66+
name: development
67+
6268
steps:
6369
- uses: actions/checkout@v4
6470
with:

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,19 @@ jobs:
8585
builder-host: "${{ steps.vercel.outputs.alias }}.${{ matrix.environment }}.webstudio.is"
8686

8787
fixtures-test:
88+
strategy:
89+
matrix:
90+
environment:
91+
- empty
92+
- development
93+
8894
needs: deployment
8995
uses: ./.github/workflows/fixtures-test.yml
9096
with:
9197
builder-url: ${{ needs.deployment.outputs.builder-url }}
9298
builder-host: ${{ needs.deployment.outputs.builder-host }}
99+
# secrets:
100+
# PRIVATE_GITHUB_DEPLOY_TOKEN: ${{ secrets.PRIVATE_GITHUB_DEPLOY_TOKEN }}
93101

94102
delete-github-deployments:
95103
needs: fixtures-test

0 commit comments

Comments
 (0)