Compare commits

5 Commits

Author SHA1 Message Date
Ken 4716ced74c ci: trigger deploy to new crashtestdev Pages project
Deploy to Cloudflare Pages / deploy (push) Failing after 14m48s
🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
2026-05-28 00:22:07 +00:00
Ken 2b8bd62757 fix: run in node:22 container (runner lacks Node.js)
Deploy to Cloudflare Pages / deploy (push) Failing after 13m38s
🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
2026-05-27 23:48:18 +00:00
Ken 8090549e01 fix: hardcode git.ampbox.io in checkout (runner has localhost:3000)
Deploy to Cloudflare Pages / deploy (push) Failing after 14m48s
Runner's instance config points to localhost:3000 instead of the
public URL. Bypass the checkout action and clone directly from
git.ampbox.io.

🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
2026-05-27 23:47:05 +00:00
Ken 87ae036d50 fix: use Gitea's official checkout action mirror
Deploy to Cloudflare Pages / deploy (push) Failing after 13m36s
actions/checkout@v4 from GitHub is unreachable. Use the
official Gitea mirror at http://gitea.com/actions/checkout@v4.

🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
2026-05-27 23:08:17 +00:00
Ken a347f3f625 fix: use shell checkout in Gitea workflow (no marketplace actions)
Deploy to Cloudflare Pages / deploy (push) Failing after 11m4s
Gitea runner at git.ampbox.io doesn't have an actions mirror.
Replace actions/checkout, setup-node, and wrangler-action with
plain git clone, npm ci, and npx wrangler.

🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
2026-05-27 23:05:50 +00:00
+11 -18
View File
@@ -8,24 +8,17 @@ on:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: node:22
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 run: git clone --depth 1 --branch main https://git.ampbox.io/${{ github.repository }}.git .
- name: Setup Node - name: Build and deploy
uses: actions/setup-node@v4 run: |
with: npm ci
node-version: 22 npm run build
npx wrangler pages deploy dist/ --project-name=crashtestdev
- name: Install dependencies env:
run: npm ci CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
- name: Build
run: npm run build
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy dist/ --project-name=crashtestdev