Configured auto-deploy #23

Merged
Lisoveliy merged 14 commits from dev into main 2025-07-18 16:00:48 +02:00
Showing only changes of commit 2f79bd336a - Show all commits

View File

@ -12,10 +12,12 @@ jobs:
- name: Update repo - name: Update repo
run: | run: |
pwd pwd
cd /home/dockeruser/jobot-stack/JOBot.Backend cd /home/dockeruser/jobot-stack
git checkout dev git checkout dev
git pull git pull
docker compose -f compose.dev.yml up -d postgres docker compose -f compose.dev.yml up -d postgres
dotnet ef database update -- --environment Development
sudo docker compose up --build -d cd /home/dockeruser/jobot-stack/JOBot.Backend
dotnet ef database update -- --environment Development
docker compose up --build -d