mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-13 13:02:56 +00:00
Merge pull request #1142 from parente/fix-wiki-upstream
Fix git-commit upstream
This commit is contained in:
2
Makefile
2
Makefile
@@ -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 && \
|
||||||
|
Reference in New Issue
Block a user