-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from groveco/circleci-set-github-user
Circleci set GitHub user
- Loading branch information
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,8 +86,11 @@ jobs: | |
- checkout | ||
|
||
- run: | ||
name: Fetch `gh-pages` | ||
command: git fetch origin gh-pages:gh-pages | ||
name: Fetch `gh-pages` and set user | ||
command: | | ||
git fetch origin gh-pages:gh-pages | ||
git config user.email "[email protected]" | ||
git config user.name "CircleCI" | ||
- run: | ||
name: Checkout existing `gh-pages` as `docs` | ||
|
@@ -102,7 +105,7 @@ jobs: | |
command: | | ||
pushd docs | ||
git add . | ||
git commit -m '[skip ci] publishing docs' --author 'CircleCI <[email protected]>' | ||
git commit -m '[skip ci] publishing docs' | ||
git push origin gh-pages | ||
publish: | ||
|