Skip to content

Commit 130dc8e

Browse files
committed
Add PR number to env
1 parent d4fc601 commit 130dc8e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ jobs:
128128
env:
129129
DISCORD_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
130130
DISCORD_CLIENT_ID: ${{ secrets.CI_CLIENT_ID }}
131+
PR_ID: ${{ github.event.number }}
131132
run: |
132133
envsubst < .github/config.json > config.json
133134

.infra/deploy-ephemeral.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cp -r "$BOT_HOME_PATH/banners" "$TEMP_DIR"
1818
cp -r "$BOT_HOME_PATH/sounds" "$TEMP_DIR"
1919
cp -r "$BOT_HOME_PATH/.infra" "$TEMP_DIR"
2020

21-
echo "$EPHEMERAL_BOT_CONFIG" >config.json
21+
echo "$EPHEMERAL_BOT_CONFIG" > config.json
2222
echo "" >.env # Dummy env
2323

2424
docker stop csz-bot-ephemeral || true

0 commit comments

Comments
 (0)