mirror of
https://github.com/dsec-hub/dsec-discord-bot.git
synced 2026-09-22 07:44:26 +00:00
fixed github actions
This commit is contained in:
parent
c9def526c8
commit
87f1fb4101
1 changed files with 3 additions and 3 deletions
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
|
|
@ -14,12 +14,12 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build and deploy with Docker Compose
|
- name: Build and deploy with Docker Compose
|
||||||
|
working-directory: /home/ubuntu/dsec_bot
|
||||||
run: |
|
run: |
|
||||||
echo "Starting Docker Compose with --build and --force-recreate..."
|
echo "Starting Docker Compose with --build and --force-recreate..."
|
||||||
cd ~/dsec_bot
|
|
||||||
sudo git pull
|
sudo git pull
|
||||||
sudo docker-compose build
|
sudo docker compose build
|
||||||
sudo docker-compose up -d --force-recreate
|
sudo docker compose up -d --build
|
||||||
|
|
||||||
echo "Deployment complete."
|
echo "Deployment complete."
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue