Skip to content

Commit

Permalink
add doc generating
Browse files Browse the repository at this point in the history
  • Loading branch information
Multivit4min committed Dec 11, 2019
1 parent a726abf commit 2f8650b
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,29 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
#- name: Generate Docs
# run: |
# npm run generate-docs
- name: Generate Docs
run: |
npm run generate-docs
#deploy:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [12]
# needs: tests
# if: github.ref == 'refs/heads/master'
# steps:
# - uses: actions/checkout@v1
# - name: install dependencies
# run: |
# npm ci
# - name: Generate Docs
# run: |
# npm run generate-docs
# - name: Deploy on Github Pages
# uses: JamesIves/github-pages-deploy-action@master
# env:
# ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
# BASE_BRANCH: master
# BRANCH: gh-pages
# FOLDER: docs
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12]
needs: tests
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v1
- name: install dependencies
run: |
npm ci
- name: Generate Docs
run: |
npm run generate-docs
- name: Deploy on Github Pages
uses: JamesIves/github-pages-deploy-action@master
env:
ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
BASE_BRANCH: master
BRANCH: gh-pages
FOLDER: docs

0 comments on commit 2f8650b

Please sign in to comment.