Skip to content

Commit c4fec61

Browse files
Add required ref argument to pipeline trigger
1 parent a193795 commit c4fec61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/rebuild.yml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
curl \
1919
-X POST \
2020
-F "token=$GITLAB_TOKEN" \
21+
-F "ref=master" \
2122
"$GITLAB_TRIGGER"
2223
Manual rebuild:
2324
if: github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!rebuild')
@@ -30,6 +31,7 @@ jobs:
3031
curl \
3132
-X POST \
3233
-F "token=$GITLAB_CI_TOKEN" \
34+
-F "ref=master" \
3335
-F "variables[FOLDER]=$folder" \
3436
-F "variables[FILE]=$file" \
3537
"$GITLAB_TRIGGER"

0 commit comments

Comments
 (0)