Skip to content

Commit

Permalink
Merge pull request #57 from groveco/circleci-set-github-user
Browse files Browse the repository at this point in the history
Circleci set GitHub user
  • Loading branch information
icunningham88 authored Jun 18, 2019
2 parents b662872 + 12dc1e4 commit 41ca2a1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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:
Expand Down

0 comments on commit 41ca2a1

Please sign in to comment.