Skip to content

Commit ab3560d

Browse files
committed
Add some discord stuff
Signed-off-by: FooterManDev <footerman.work@gmail.com>
1 parent 67e339d commit ab3560d

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

.github/discord

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dh=06331da8646c26e9db408ff95a46041d205a6aa8

.github/workflows/build-docs.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)