Merge pull request #1142 from parente/fix-wiki-upstream

Fix git-commit upstream
This commit is contained in:
Peter Parente
2020-08-09 00:00:59 -04:00
committed by GitHub

View File

@@ -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 && \