Gitea CI'yı sıfırdan yaz: tek job ile compose build & deploy
Some checks failed
Deploy / deploy (push) Failing after 10s

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
bilalgursen
2026-07-26 01:04:13 +03:00
parent d5e23c0ce9
commit fb44349bf8

View File

@@ -1,12 +1,20 @@
name: Test
name: Deploy
on:
push:
branches: [main]
jobs:
test:
deploy:
runs-on: ubuntu-latest
steps:
- name: Test
run: echo "Runner"
- name: Kaynak kodu çek
uses: actions/checkout@v4
- name: .env.production oluştur
run: printf '%s\n' "${{ secrets.ENV_PRODUCTION }}" > .env.production
- name: Build & deploy
run: |
docker compose -p kolaytercih up -d --build --remove-orphans
docker image prune -f