From f6557167e55dee8342e1b462f2a7fa0757058d36 Mon Sep 17 00:00:00 2001 From: wirednkod Date: Thu, 21 Dec 2023 20:07:15 +0200 Subject: [PATCH] Add publish script for pba-content --- .github/workflows/gh-publish.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/gh-publish.yml 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