From 72c37a8bef1c9ee48aa5b96a2d11333c6d7b9f04 Mon Sep 17 00:00:00 2001 From: Evan Flynn Date: Wed, 28 Apr 2021 21:48:50 -0700 Subject: [PATCH] use gh pages deploy action --- .github/workflows/docz.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docz.yml b/.github/workflows/docz.yml index fec1650..c358517 100644 --- a/.github/workflows/docz.yml +++ b/.github/workflows/docz.yml @@ -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