Compare commits

...

15 Commits

Author SHA1 Message Date
48b79ce6ea Merge pull request 'Configured auto-deploy' (#23) from dev into main
All checks were successful
Publish JOBot on dev / Build and deploy (push) Successful in 26s
Reviewed-on: #23
2025-07-18 16:00:48 +02:00
81bf05e3fc fix: fix of compose files
All checks were successful
Publish JOBot on dev / Build and deploy (push) Successful in 21s
2025-07-18 16:28:10 +03:00
445a1f7fa4 fix: fix of docker compose file
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 1s
2025-07-18 16:23:23 +03:00
2f79bd336a chore: update pipeline
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 15s
2025-07-18 16:07:29 +03:00
cf463a5d94 chore: update pipeline
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 0s
2025-07-18 16:02:20 +03:00
f6500670c0 chore: update pipeline
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 0s
2025-07-18 16:01:37 +03:00
1f0bc01dc6 chore: update pipeline
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 14s
2025-07-18 15:59:40 +03:00
18e6fcc883 chore: update pipeline
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 13s
2025-07-18 15:58:11 +03:00
10d0a83e15 test: test pipeline
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 12s
2025-07-18 15:55:30 +03:00
3b8278ba66 chore: test deploy
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 18s
2025-07-18 15:51:16 +03:00
86cad2beec fix: fix pipeline
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 4s
2025-07-16 23:07:47 +03:00
4b223ecf98 chore: debug pipeline
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 5s
2025-07-16 22:57:50 +03:00
d041fd870b fix: fix conf
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 2s
2025-07-16 22:57:32 +03:00
6d5c327747 fix: fixed workflow
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 3s
2025-07-16 22:47:01 +03:00
7e24a7444e feat: added deploy script 2025-07-16 22:46:00 +03:00
4 changed files with 35 additions and 17 deletions

View File

@ -0,0 +1,23 @@
name: Publish JOBot on dev
on: [push]
branch: dev
jobs:
build and deploy:
runs-on: host
name: Build and deploy
volumes:
steps:
- name: Update repo
run: |
pwd
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
docker compose up --build -d

View File

@ -1,12 +0,0 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"PostgreSQL": "Host=postgres;Port=5432;Database=jobot_test;Username=postgres;Password=LocalDbPass"
}
}

View File

@ -9,7 +9,7 @@ services:
ports:
- "5432:5432"
volumes:
- ./.docker/postgres_data:/var/lib/postgresql/data
- postgres_data:/var/lib/postgresql/data
networks:
- jobot
@ -36,3 +36,6 @@ services:
networks:
jobot:
volumes:
postgres_data:

View File

@ -7,7 +7,7 @@ services:
POSTGRES_PASSWORD: LocalDbPass
POSTGRES_DB: jobot
volumes:
- ./.docker/postgres_data:/var/lib/postgresql/data
- postgres_data:/var/lib/postgresql/data
networks:
- jobot
@ -33,3 +33,7 @@ services:
networks:
jobot:
volumes:
postgres_data: