Configured auto-deploy #23
@ -12,10 +12,12 @@ jobs:
|
||||
- name: Update repo
|
||||
run: |
|
||||
pwd
|
||||
cd /home/dockeruser/jobot-stack/JOBot.Backend
|
||||
cd /home/dockeruser/jobot-stack
|
||||
git checkout dev
|
||||
git pull
|
||||
docker compose -f compose.dev.yml up -d postgres
|
||||
|
||||
cd /home/dockeruser/jobot-stack/JOBot.Backend
|
||||
dotnet ef database update -- --environment Development
|
||||
sudo docker compose up --build -d
|
||||
docker compose up --build -d
|
||||
|
Loading…
x
Reference in New Issue
Block a user