Skip to content

Commit 429f99f

Browse files
committed
update INTEGRATION_TEST_WORKFLOW and DEPLOY_WORKFLOW in env
1 parent 17b4cb5 commit 429f99f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test-and-build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ jobs:
9898
uses: actions/github-script@v7
9999
env:
100100
INTEGRATION_TEST_REPO: ${{ secrets.INTEGRATION_TEST_REPO }}
101-
INTEGRATION_TEST_WORKFLOW: ${{ secrets.INTEGRATION_TEST_WORKFLOW }}
101+
INTEGRATION_TEST_WORKFLOW: "${{ secrets.INTEGRATION_TEST_WORKFLOW }}.yaml"
102102
with:
103103
github-token: ${{ secrets.INTEGRATION_TEST_PAT }}
104104
script: |
105105
await github.rest.actions.createWorkflowDispatch({
106106
owner: 'statisticsnorway',
107107
repo: process.env.INTEGRATION_TEST_REPO,
108-
workflow_id: process.env.INTEGRATION_TEST_WORKFLOW + '.yaml',
108+
workflow_id: process.env.INTEGRATION_TEST_WORKFLOW,
109109
ref: 'main'
110110
})
111111
@@ -142,14 +142,14 @@ jobs:
142142
uses: actions/github-script@v7
143143
env:
144144
DEPLOY_REPO: ${{ secrets.DEPLOY_REPO }}
145-
DEPLOY_WORKFLOW: ${{ secrets.DEPLOY_WORKFLOW }}
145+
DEPLOY_WORKFLOW: "${{ secrets.DEPLOY_WORKFLOW }}.yaml"
146146
with:
147147
github-token: ${{ secrets.DEPLOY_PAT }}
148148
script: |
149149
await github.rest.actions.createWorkflowDispatch({
150150
owner: 'statisticsnorway',
151151
repo: process.env.DEPLOY_REPO,
152-
workflow_id: process.env.DEPLOY_WORKFLOW + '.yaml',
152+
workflow_id: process.env.DEPLOY_WORKFLOW,
153153
ref: 'master',
154154
inputs: {
155155
environment: "PROD",

0 commit comments

Comments
 (0)