Skip to content

Commit caaa957

Browse files
committed
WIP GH Action for deployment
1 parent 61af869 commit caaa957

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deploy.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ commit+push() {
181181
disable_expanded_output
182182
remote_repo="https://${GITHUB_ACTOR}:${GH_TOKEN}@github.com/${REPOSITORY}.git"
183183
#--quiet is important here to avoid outputting the repo URL, which may contain a secret token
184-
git push "${remote_repo}" $deploy_branch --quiet
184+
git remote add ghpages $remote_repo
185+
git push ghpages $deploy_branch --quiet
185186
enable_expanded_output
186187
else
187188
disable_expanded_output

0 commit comments

Comments
 (0)