From 41013dd6fe119555498a8a043ef692bd14f1c48d Mon Sep 17 00:00:00 2001
From: pmckinney-codat
Date: Fri, 31 Jul 2026 16:36:48 +0100
Subject: [PATCH] EXP-2106: Decommission the GitHub Pages deploy workflow
docs.codat.io cut over to the prod Argo cluster (IaC#1493, applied 31
Jul) and verified. Pages no longer serves traffic; this removes the
deploy workflow so nothing publishes to it. Custom domain removal and
Pages disable happen in repo settings after this merges (domain last -
it is the rollback path until then).
PR checks (pr.yml, check-*) are unchanged - they still run on GH runners.
Co-Authored-By: Claude Fable 5
---
.github/workflows/deploy.yml | 68 ------------------------------------
1 file changed, 68 deletions(-)
delete mode 100644 .github/workflows/deploy.yml
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
deleted file mode 100644
index b59d4c3c5a..0000000000
--- a/.github/workflows/deploy.yml
+++ /dev/null
@@ -1,68 +0,0 @@
-name: Deploy to GitHub Pages
-
-on:
- push:
- branches: [main]
- workflow_dispatch:
-
-permissions:
- contents: read
- pages: write
- id-token: write
-
-concurrency:
- group: pages
- cancel-in-progress: false
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v7
- with:
- # Images are Git LFS-tracked (.gitattributes); without this the
- # build ships LFS pointer files instead of the actual binaries
- lfs: true
-
- - uses: actions/setup-node@v6
- with:
- node-version: 24
- cache: npm
-
- # The repo .npmrc is credential-less (the K8s image build authenticates
- # via ADO npmAuthenticate); GH-hosted builds inject creds here instead.
- - name: Authenticate to codat-npm feed
- run: |
- {
- echo "//pkgs.dev.azure.com/codat/Codat/_packaging/codat-npm/npm/registry/:username=codat"
- echo "//pkgs.dev.azure.com/codat/Codat/_packaging/codat-npm/npm/registry/:_password=${NPM_TOKEN}"
- echo "//pkgs.dev.azure.com/codat/Codat/_packaging/codat-npm/npm/registry/:email=npm-requires-email@example.com"
- } >> ~/.npmrc
- env:
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
-
- - name: Install dependencies
- run: npm ci
-
- - name: Build site
- run: npm run build
- env:
- ZENDESK_KEY: ${{ secrets.ZENDESK_KEY }}
- AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_API_KEY }}
- GTM_ID: ${{ vars.GTM_ID }}
-
- - uses: actions/configure-pages@v6
-
- - uses: actions/upload-pages-artifact@v5
- with:
- path: build
-
- deploy:
- needs: build
- runs-on: ubuntu-latest
- environment:
- name: github-pages
- url: ${{ steps.deployment.outputs.page_url }}
- steps:
- - id: deployment
- uses: actions/deploy-pages@v5