Skip to content

Commit 172a540

Browse files
committed
ci: rename APPLICATION_ID to CLIENT_ID in environment files and workflows
1 parent b30d4c1 commit 172a540

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
DISCORD_TOKEN="" # Your bot token
2-
APPLICATION_ID="" # Your bot's application ID
2+
CLIENT_ID="" # Your bot's application ID

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: npm run build:ci
4242
env:
4343
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
44-
APPLICATION_ID: ${{ secrets.APPLICATION_ID }}
44+
CLIENT_ID: ${{ secrets.CLIENT_ID }}
4545

4646
- name: Run tests
4747
run: npm test
@@ -53,11 +53,11 @@ jobs:
5353
- name: Create .env file from secrets
5454
env:
5555
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
56-
APPLICATION_ID: ${{ secrets.APPLICATION_ID }}
56+
CLIENT_ID: ${{ secrets.CLIENT_ID }}
5757
run: |
5858
set -euo pipefail
5959
printf "DISCORD_TOKEN=%s\n" "$DISCORD_TOKEN" > .env
60-
printf "APPLICATION_ID=%s\n" "$APPLICATION_ID" >> .env
60+
printf "CLIENT_ID=%s\n" "$CLIENT_ID" >> .env
6161
printf "NODE_ENV=production\n" >> .env
6262
6363
- name: Copy artifact to VPS

0 commit comments

Comments
 (0)