Skip to content

Commit

Permalink
chore: update docker compose config
Browse files Browse the repository at this point in the history
  • Loading branch information
indiejoseph committed Apr 24, 2024
1 parent 8dae953 commit 8caa3d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USERNAME }}
key: ${{ secrets.DEPLOY_KEY }}
port: 22
port: ${{ secrets.DEPLOY_PORT }}
envs: GITHUB_TOKEN,USERNAME
script: |
echo $GITHUB_TOKEN | docker login ghcr.io -u $GITHUB_USER --password-stdin
Expand Down
10 changes: 3 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
version: '3.9'
services:
discord-bot:
image: ghcr.io/hon9kon9ize/yue-discord-bot:release
image: ghcr.io/hon9kon9ize/yue-discord-bot:latest
restart: always
environment:
DISCORD_TOKEN: ${DISCORD_TOKEN}
DISCORD_CLIENT_ID: ${DISCORD_CLIENT_ID}
AIRTABLE_API_KEY: ${AIRTABLE_API_KEY}
AIRTABLE_BASE_ID: ${AIRTABLE_BASE_ID}
AIRTABLE_TABLE_IDS: ${AIRTABLE_TABLE_IDS}
env_file:
- .env

0 comments on commit 8caa3d4

Please sign in to comment.