diff --git a/.github/workflows/deploy-demo.yml b/.github/workflows/deploy-demo.yml new file mode 100644 index 00000000..239772a8 --- /dev/null +++ b/.github/workflows/deploy-demo.yml @@ -0,0 +1,33 @@ +name: Deploy Demo to GitHub Pages + +on: + push: + branches: [ main ] + workflow_dispatch: + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v3 + + - name: Setup Node.js 🔧 + uses: actions/setup-node@v3 + with: + node-version: '23' + cache: 'npm' + + - name: Install dependencies 📦 + run: npm ci + + - name: Build project 🏗️ + run: | + npm run build + npm run build:browser + + - name: Deploy to GitHub Pages 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: examples + branch: gh-pages diff --git a/examples/CNAME b/examples/CNAME new file mode 100644 index 00000000..6c403167 --- /dev/null +++ b/examples/CNAME @@ -0,0 +1 @@ +www.soulcraft.com