Skip to content

Commit

Permalink
Fix issue with branch naming (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexander-phi committed Mar 18, 2020
1 parent c8e3204 commit d7aba1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ git config user.name "marp-action" && \
git config user.email "[email protected]" && \
git add . && \
git status && \
curr_branch="$(git rev-parse --abbrev-ref HEAD)" && \
git commit -m'action build' && \
git push --force $remote_repo master:${PUBLISH_TO_BRANCH}
git push --force $remote_repo ${curr_branch}:${PUBLISH_TO_BRANCH}

echo "✔ Pushed Successfully!"
echo ""
Expand Down

0 comments on commit d7aba1f

Please sign in to comment.