Skip to content

Commit

Permalink
Merge pull request #459 from chessebuilderman/CD
Browse files Browse the repository at this point in the history
CD (Hopefully)
  • Loading branch information
dr4wn authored Jul 5, 2024
2 parents c590afb + 07ba689 commit 41d5d51
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ __*

# Whitelisted Files
!start_bot.bat
!update.bat
6 changes: 6 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

services:
discord-bot:
image: 'intertia-discord-bot'
env_file:
- ./.env
8 changes: 8 additions & 0 deletions update.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
if [[ `git status --porcelain` ]]; then
call git pull
call docker build --tag inertia-dicord-bot .
call docker-compose doown
call docker-compose up -d
else
# No changes
fi

0 comments on commit 41d5d51

Please sign in to comment.