Skip to content

Commit

Permalink
use gh pages deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
flynneva committed Apr 29, 2021
1 parent 85ed3a3 commit 72c37a8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/docz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ jobs:
git remote add gh-origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Dependencies
run: npm install
- name: Publish Docz
run: npm run deploy
- name: Install & Build the Docz
run: npm run predeploy
- name: Deploy Docz
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages
folder: docs

0 comments on commit 72c37a8

Please sign in to comment.