From cbe5d82bf1f7d2c2c8f004e469947991db53d4a6 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Fri, 18 Aug 2023 16:20:13 -0400 Subject: [PATCH] add gha --- .github/workflows/ghp.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ghp.yml diff --git a/.github/workflows/ghp.yml b/.github/workflows/ghp.yml new file mode 100644 index 0000000..66fbf24 --- /dev/null +++ b/.github/workflows/ghp.yml @@ -0,0 +1,21 @@ +name: Build + deploy to GitHub Pages +on: + push: + branches: [ main ] + pull_request: + branches: [ "**" ] +jobs: + build-and-deploy: + name: Build and deploy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: npm install + - run: npm run gha-export + - name: Deploy + uses: JamesIves/github-pages-deploy-action@4.1.1 + with: + branch: gh-pages + folder: build + clean: true + token: ${{ secrets.GITHUB_TOKEN }}