From daf924b019d61e3dd83d0cd55a46c09d15d3ef3f Mon Sep 17 00:00:00 2001 From: Myles Scolnick Date: Tue, 12 May 2026 13:19:44 -0400 Subject: [PATCH] chore(ci): split demo.yml into build + deploy jobs --- .github/workflows/demo.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index a4cc1f9..0936e88 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -7,8 +7,6 @@ on: permissions: contents: read - pages: write - id-token: write jobs: build: @@ -41,6 +39,20 @@ jobs: with: path: './demo/dist' + deploy: + name: 🚀 Deploy + needs: build + runs-on: ubuntu-latest + + permissions: + pages: write + id-token: write + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: - name: 🚀 Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4