Add first_deploy dispatch input so the first Cloudflare deploy can bootstrap

The domain answers 403 (error 1014) until the Pages project exists, which
made the carry-over fetch abort the very deploy that would create it.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JdMNbY5hLR7FjtfEE712xG
This commit is contained in:
Claude
2026-10-14 15:39:03 +00:00
parent 1e9908569d
commit 4369d15cec
4 changed files with 25 additions and 0 deletions
+7
View File
@@ -16,6 +16,11 @@ on:
pull_request:
branches: [ main, dev ]
workflow_dispatch:
inputs:
first_deploy:
description: "First Cloudflare deploy: skip carrying over the other channel (the site does not exist yet)"
type: boolean
default: false
# Needed to publish the dev-channel prerelease below.
permissions:
@@ -162,6 +167,8 @@ jobs:
path: staged
- name: Assemble site
env:
PLG_SKIP_OTHER: ${{ inputs.first_deploy && '1' || '' }}
run: .github/scripts/stage-pages-site.sh dev "${{ needs.build.outputs.version }}" "staged/ProLibertateGames-${{ needs.build.outputs.version }}.apk"
- name: Deploy