From 1211187d3896dbbb960f63034baeaa20952a01b8 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 1 Sep 2026 20:40:55 +0000 Subject: [PATCH] Add temporary Pages preview workflow for content stack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Deploy the #25–#27 visual (About + editorial + qualitative copy) to the existing kylecesmat Pages project as preview-stack-merged. Preview only; no custom domain and not production. Co-authored-by: Kyle Cesmat --- .github/workflows/preview-stack.yml | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/preview-stack.yml diff --git a/.github/workflows/preview-stack.yml b/.github/workflows/preview-stack.yml new file mode 100644 index 0000000..2e964ad --- /dev/null +++ b/.github/workflows/preview-stack.yml @@ -0,0 +1,47 @@ +name: Preview stack + +on: + push: + branches: [cursor/preview-stack-merged-7ac0] + workflow_dispatch: + +concurrency: + group: preview-stack-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +# Temporary visual preview of content stack #25–#27. +# Do not attach kylecesmat.com or treat this as production. +jobs: + deploy: + name: Deploy preview + runs-on: ubuntu-latest + permissions: + contents: read + deployments: write + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + cache: npm + - run: npm ci + - run: npm run check + - run: npm run build + - name: Deploy to Cloudflare Pages preview + id: deploy + uses: cloudflare/wrangler-action@v4 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + command: pages deploy dist --project-name=kylecesmat --branch=preview-stack-merged + gitHubToken: ${{ secrets.GITHUB_TOKEN }} + - name: Write deployment URLs + env: + DEPLOYMENT_URL: ${{ steps.deploy.outputs.deployment-url }} + DEPLOYMENT_ALIAS_URL: ${{ steps.deploy.outputs.pages-deployment-alias-url }} + run: | + { + echo "## Cloudflare Pages preview" + echo "- Deployment URL: ${DEPLOYMENT_URL}" + echo "- Alias URL: ${DEPLOYMENT_ALIAS_URL}" + } >> "$GITHUB_STEP_SUMMARY"