Skip to content

Commit

Permalink
ci(build-docs): change commit message and bot details
Browse files Browse the repository at this point in the history
  • Loading branch information
TasoOneAsia committed Jul 6, 2021
1 parent 4172d7e commit 1e56ec1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ on:
branches:
- develop
jobs:
build_docs:
"build_docs":
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Get reference hash
id: vars
run: |
echo "::set-output name=commit_hash::$(git rev-parse --short HEAD)"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand All @@ -32,7 +37,7 @@ jobs:
- name: Deploy gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy -- -u "github-actions-bot <support+[email protected]>"
npm run deploy -- -u "pe-actions-bot <[email protected]>" -m "Deploy new docs - based on ${{ steps.vars.outputs.commit_hash }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CI: true

0 comments on commit 1e56ec1

Please sign in to comment.