From 660b18a1ea44e1af408ca27949820290a16f5648 Mon Sep 17 00:00:00 2001 From: johngribbin <30157175+johngribbin@users.noreply.github.com> Date: Mon, 9 Dec 2024 09:25:47 +0000 Subject: [PATCH] chore: Add github action for gh-pages deployment --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..f89260ae --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: Build and Deploy +on: + push: + branches: + - main +permissions: + contents: write +jobs: + build-and-deploy: + concurrency: ci-${{ github.ref }} + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v3 + + - name: Install and Build + run: | + yarn + yarn build + + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: build # The folder the action should deploy.