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 7e24a7444e - Show all commits

16
.gitea/deploy-dev.yml Normal file
View File

@ -0,0 +1,16 @@
name: Publish JOBot on dev
on: [push]
branch: dev
jobs:
build and deploy:
runs-on: ubuntu-latest
name: Build and deploy
steps:
- name: Update repo
run: |
cd /home/dockeruser/jobot-stack/JOBot.Backend
git checkout dev
git pull
dotnet ef database update
sudo docker compose up --build -d