From 761b4df44271bf52b58b9112699197a5349a2736 Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Sun, 13 Dec 2020 02:15:10 -0600 Subject: [PATCH] add update docs action --- .github/workflows/docs.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..fd77c4a --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,23 @@ +name: 'Update Docs' + +on: + push: + branches: + - master + +jobs: + docs: + name: Update Docs + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + - name: Install Packages + run: npm install + - name: Build Docs + run: npm run docs + - name: Deploy 🚢 + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs/dist