Commit a3a92594 authored by Peter Parente's avatar Peter Parente

Fix git-commit upstream

cd before configuring
parent 01978d27
...@@ -86,9 +86,9 @@ git-commit: GITHUB_TOKEN?= ...@@ -86,9 +86,9 @@ git-commit: GITHUB_TOKEN?=
git-commit: ## commit outstading git changes and push to remote git-commit: ## commit outstading git changes and push to remote
@git config --global user.name "GitHub Actions" @git config --global user.name "GitHub Actions"
@git config --global user.email "actions@users.noreply.github.com" @git config --global user.email "actions@users.noreply.github.com"
@git remote add publisher https://$(GITHUB_TOKEN)@github.com/$(GITHUB_REPOSITORY).git
@cd $(LOCAL_PATH) && \ @cd $(LOCAL_PATH) && \
git remote add publisher https://$(GITHUB_TOKEN)@github.com/$(GITHUB_REPOSITORY).git
git checkout master && \ git checkout master && \
git add -A -- . && \ git add -A -- . && \
git commit -m "[ci skip] Automated publish for $(GITHUB_SHA)" || exit 0 && \ git commit -m "[ci skip] Automated publish for $(GITHUB_SHA)" || exit 0 && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment