Skip to content

Commit d3eefb0

Browse files
committed
fix(cd): resolving issue with env var
1 parent 5d14a31 commit d3eefb0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deploy-trigger.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ jobs:
1919

2020
steps:
2121
- name: Trigger Workflow in Another Repository
22-
env:
23-
GH_TOKEN: ${{ secrets.CLASSIC_PATKA }}
2422
run: |
2523
# Set the required variables
2624
repo="IgniteUI/igniteui-actions"
@@ -31,4 +29,6 @@ jobs:
3129
gh api repos/$repo/dispatches \
3230
--method POST \
3331
--field event_type="$event_type" \
34-
--raw-field client_payload="{\"branch\": \"$branch\", \"unit\": false, \"integration\": true}"
32+
--raw-field client_payload="{\"branch\": \"$branch\", \"unit\": false, \"integration\": true}"
33+
env:
34+
GH_TOKEN: ${{ secrets.CLASSIC_PATKA }}

0 commit comments

Comments
 (0)