[Pages] Update v1 build image deprecation date to September 15, 2026 … #8984
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish | |
| on: | |
| push: | |
| branches: | |
| - production | |
| jobs: | |
| publish: | |
| name: Production | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| cache: npm | |
| - run: npm ci | |
| - uses: actions/cache/restore@v4 | |
| with: | |
| path: | | |
| node_modules/.astro/assets | |
| key: static | |
| - run: npm run build | |
| name: Build | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/upload-artifact@v4 | |
| continue-on-error: true | |
| with: | |
| name: site-html | |
| path: dist | |
| - run: npx wrangler deploy | |
| name: Deploy to Cloudflare Workers | |
| env: | |
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| - uses: actions/cache/save@v4 | |
| if: always() | |
| with: | |
| path: | | |
| node_modules/.astro/assets | |
| key: static | |
| - name: Notify Google Chat on failure | |
| if: failure() | |
| run: | | |
| curl -X POST "${{ secrets.CED_TEAM_ALERTS_CHANNEL_WEBHOOK }}" \ | |
| -H "Content-Type: application/json" \ | |
| -d "{\"text\": \"❌ *Publish Production* workflow failed.\nActor: ${{ github.actor }}\n<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View run>\"}" |