diff --git a/.github/workflows/gh-publish.yml b/.github/workflows/gh-publish.yml new file mode 100644 index 000000000..b0110b8c6 --- /dev/null +++ b/.github/workflows/gh-publish.yml @@ -0,0 +1,23 @@ +name: GitHub Pages Publish + +on: + push: + branches: [main] + +jobs: + gh-deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18 + registry-url: https://registry.npmjs.org + - run: yarn install + - name: Build + working-directory: "." + run: yarn build:pages + - name: Deploy + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: build