feat: add exit 0
This commit is contained in:
parent
7bebcf148d
commit
30a41545c8
|
@ -12,7 +12,7 @@ GIT_REMOTE="https://$GIT_SERVER_HOST/$GITHUB_REPOSITORY"
|
|||
GITHUB_REPOSITORY_AUTHOR=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f1)
|
||||
GITHUB_REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f2)
|
||||
|
||||
PAGES_HOSTNAME="$DEPLOY_BRANCH.$GITHUB_REPOSITORY_NAME.$GITHUB_REPOSITORY_AUTHOR.theclashfruit.page"
|
||||
PAGES_HOSTNAME="$GITHUB_REPOSITORY_NAME.$GITHUB_REPOSITORY_AUTHOR.theclashfruit.page"
|
||||
|
||||
# Move to temp
|
||||
TMP_DIR=$(mktemp -d)
|
||||
|
@ -44,4 +44,6 @@ git commit -m "Deployed $COMMIT_ID to Pages. ($PAGES_HOSTNAME)"
|
|||
git remote set-url origin "https://$GITHUB_ACTOR:$GITHUB_TOKEN@$GIT_SERVER_HOST/$GITHUB_REPOSITORY.git"
|
||||
git push --force origin "$DEPLOY_BRANCH:$DEPLOY_BRANCH"
|
||||
|
||||
curl -sL -H 'cache-control: no-cache' "https://$PAGES_HOSTNAME" > /dev/null
|
||||
curl -sL -H 'cache-control: no-cache' "https://$PAGES_HOSTNAME" > /dev/null
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue