Skip to content

Commit 3786d15

Browse files
committed
fix: deployment for schedule workflow
1 parent 856ef3d commit 3786d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test_backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191

192192
env:
193193
BASE_URL: https://${{github.event.schedule && 'be.preview.gov.tools' || inputs.deployment || 'govtool.cardanoapi.io/api' }}
194-
DEPLOYMENT: ${{ inputs.deployment || 'govtool.cardanoapi.io/api'}}
194+
DEPLOYMENT: ${{ github.event.schedule && 'be.preview.gov.tools' || inputs.deployment || 'govtool.cardanoapi.io/api'}}
195195
REPORT_NAME: ${{ github.event.schedule && 'nightly-'}}govtool-backend
196196
GH_PAGES: ${{vars.GH_PAGES}}
197197
COMMIT_SHA: ${{ github.event.workflow_run.head_sha || github.sha }}

0 commit comments

Comments
 (0)