mirror of
https://github.com/dsec-hub/dsec-discord-bot.git
synced 2026-09-22 07:44:26 +00:00
added sudo for permission
This commit is contained in:
parent
a966f62b81
commit
5b401ac2e0
1 changed files with 2 additions and 2 deletions
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
run: |
|
||||
echo "Starting Docker Compose with --build and --force-recreate..."
|
||||
cd ~/dsec_bot
|
||||
docker-compose up -d --build --force-recreate
|
||||
sudo docker-compose up -d --build --force-recreate
|
||||
|
||||
echo "Deployment complete."
|
||||
|
||||
|
|
@ -25,4 +25,4 @@ jobs:
|
|||
- name: Clean up old Docker images
|
||||
run: |
|
||||
echo "Cleaning up dangling Docker images..."
|
||||
docker image prune -f
|
||||
sudo docker image prune -f
|
||||
|
|
|
|||
Loading…
Reference in a new issue