File tree Expand file tree Collapse file tree 2 files changed +16
-9
lines changed
Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 1+ dh=06331da8646c26e9db408ff95a46041d205a6aa8
Original file line number Diff line number Diff line change @@ -83,17 +83,23 @@ jobs:
8383 echo "Unzipping $ZIP_FILE into $DEST"
8484 mkdir -p "$DEST"
8585 unzip "$ZIP_FILE" -d "$DEST"
86-
87- - name : Copy Google verification to root
86+
87+ - name : Copy verification files into build root
8888 run : |
89- VERIF_FILE=".github/google5c656ab590a2ed69.html"
9089 DEST="${{ needs.build.outputs.build_dir }}"
91- if [ -f "$VERIF_FILE" ]; then
92- cp "$VERIF_FILE" "$DEST/"
93- echo "Copied $VERIF_FILE -> $DEST/"
94- else
95- echo "Warning: $VERIF_FILE not found in repo. Skipping copy."
96- fi
90+ echo "Copying verification files to $DEST"
91+ # GitHub-stored verification files:
92+ cp_if_exists() {
93+ SRC="$1"
94+ if [ -f "$SRC" ]; then
95+ cp "$SRC" "$DEST/"
96+ echo "Copied $SRC -> $DEST/"
97+ else
98+ echo "Warning: $SRC not found in repo. Skipping."
99+ fi
100+ }
101+ cp_if_exists ".github/google5c656ab590a2ed69.html"
102+ cp_if_exists ".github/discord"
97103
98104 - name : Deploy to CF
99105 uses : cloudflare/wrangler-action@v3
You can’t perform that action at this time.
0 commit comments