File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -87,12 +87,13 @@ git-commit: ## commit outstading git changes and push to remote
87
87
@git config --global user.name " GitHub Actions"
88
88
@git config --global user.email
" [email protected] "
89
89
90
+ @echo "Publishing outstanding changes in $(LOCAL_PATH) to $(GITHUB_REPOSITORY)"
90
91
@cd $(LOCAL_PATH) && \
91
92
git remote add publisher https://$(GITHUB_TOKEN)@github.com/$(GITHUB_REPOSITORY).git && \
92
93
git checkout master && \
93
94
git add -A -- . && \
94
- git commit -m "[ci skip] Automated publish for $(GITHUB_SHA)" || exit 0 && \
95
- git push -u publisher master
95
+ git commit -m "[ci skip] Automated publish for $(GITHUB_SHA)" || exit 0
96
+ @cd $(LOCAL_PATH) && git push -u publisher master
96
97
97
98
hook/% : export COMMIT_MSG?=$(shell git log -1 --pretty=% B)
98
99
hook/% : export GITHUB_SHA?=$(shell git rev-parse HEAD)
You can’t perform that action at this time.
0 commit comments