We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29f8613 commit c202efdCopy full SHA for c202efd
1 file changed
entrypoint.sh
@@ -10,20 +10,19 @@ function git-setup() {
10
"${INPUT_TARGET_URL#https://}"
11
echo "git remote add target ${url}"
12
git remote add target "${url}"
13
+ set -x
14
}
15
-git-setup
16
-
17
case "${GITHUB_EVENT_NAME}" in
18
-push|create|pull_request)
19
- set -x
+push|create|pull_request|workflow_dispatch)
+ git-setup
20
git fetch --all
21
git push -f --all target
22
git push -f --prune target
23
git push -f --tags target
24
;;
25
delete)
26
27
git push -d target "${GITHUB_EVENT_REF}"
28
29
*)
0 commit comments