From 7ec8e15a2b07dafd5cbe34908327e1e2d9e3393b Mon Sep 17 00:00:00 2001 From: KeepSOBP Date: Sat, 11 Sep 2021 12:24:56 +0900 Subject: [PATCH] Publish Documentation using ghactions --- .github/workflows/docs.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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 00000000..2b71978b --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,28 @@ +name: Publish Documentation + +on: + push: + branches: [ master ] + +jobs: + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Setup Node + uses: actions/setup-node@v2 + with: + node-version: 15 + + - name: Install dependencies + run: yarn install + + - name: Build + run: yarn run docs + + - name: Deploy + uses: JamesIves/github-pages-deploy-action@4.1.5 + with: + branch: docs + folder: docs