Skip to content

Commit c202efd

Browse files
authored
fix: Add workflow_dispatch event
1 parent 29f8613 commit c202efd

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

entrypoint.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,19 @@ function git-setup() {
1010
"${INPUT_TARGET_URL#https://}"
1111
echo "git remote add target ${url}"
1212
git remote add target "${url}"
13+
set -x
1314
}
1415

15-
git-setup
16-
1716
case "${GITHUB_EVENT_NAME}" in
18-
push|create|pull_request)
19-
set -x
17+
push|create|pull_request|workflow_dispatch)
18+
git-setup
2019
git fetch --all
2120
git push -f --all target
2221
git push -f --prune target
2322
git push -f --tags target
2423
;;
2524
delete)
26-
set -x
25+
git-setup
2726
git push -d target "${GITHUB_EVENT_REF}"
2827
;;
2928
*)

0 commit comments

Comments
 (0)