chore: update deploy docs script (#5686)

Co-authored-by: Maksim Karatkevich <m.karatkevich@akveo.com>
This commit is contained in:
maksim-karatkevich 2020-05-18 17:15:12 +03:00 committed by GitHub
parent 6bda4a1912
commit ceb45c49c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,5 +19,11 @@ jobs:
- uses: actions/checkout@v2
with:
ref: demo
- run: npm install
- run: npm run docs:gh-pages
- name: Deploy
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install --silent
git config --global user.email "github-action@akveo.com"
git config --global user.name "Github Action"
npm run docs:gh-pages