From 3560c7f6bb0d1e1259aa735e22fb2ddd1e48ec29 Mon Sep 17 00:00:00 2001 From: zombieFox Date: Mon, 24 May 2021 08:50:45 +0100 Subject: [PATCH] [refactor] add workflow --- .github/workflows/gh-pages-deploy.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/gh-pages-deploy.yml diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml new file mode 100644 index 00000000..c6164095 --- /dev/null +++ b/.github/workflows/gh-pages-deploy.yml @@ -0,0 +1,26 @@ +name: gh-pages-deploy + +on: + push: + branches: + - master + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2.3.1 + with: + persist-credentials: false + + - name: Install and Build + run: | + npm install + npm run build + + - name: Deploy + uses: JamesIves/github-pages-deploy-action@4.1.3 + with: + branch: gh-pages + folder: build/web