Skip to content

Commit 355b908

Browse files
committed
fix variable names to match taskfile expectations
- change channel-create to use RELEASE_CHANNEL parameter - pass RELEASE_CHANNEL as task parameter instead of env var - ensure all task calls use correct variable names from taskfile
1 parent 39173bd commit 355b908

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/wg-easy-pr-validation.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ jobs:
201201
run: |
202202
BRANCH_NAME="${{ github.head_ref || github.ref_name }}"
203203
CHANNEL_NAME=$(echo "$BRANCH_NAME" | tr '[:upper:]' '[:lower:]')
204-
task channel-create CHANNEL_NAME="$CHANNEL_NAME"
204+
task channel-create RELEASE_CHANNEL="$CHANNEL_NAME"
205205
timeout-minutes: 5
206206
env:
207207
REPLICATED_API_TOKEN: ${{ secrets.WG_EASY_REPLICATED_API_TOKEN }}
@@ -211,12 +211,11 @@ jobs:
211211
run: |
212212
BRANCH_NAME="${{ github.head_ref || github.ref_name }}"
213213
CHANNEL_NAME=$(echo "$BRANCH_NAME" | tr '[:upper:]' '[:lower:]')
214-
task release-create
214+
task release-create RELEASE_CHANNEL="$CHANNEL_NAME"
215215
timeout-minutes: 15
216216
env:
217217
REPLICATED_API_TOKEN: ${{ secrets.WG_EASY_REPLICATED_API_TOKEN }}
218218
REPLICATED_APP: ${{ secrets.WG_EASY_REPLICATED_APP }}
219-
CHANNEL: $CHANNEL_NAME
220219

221220
create-customer:
222221
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)