Gitea CI'yı sıfırdan yaz: tek job ile compose build & deploy
Some checks failed
Deploy / deploy (push) Failing after 10s
Some checks failed
Deploy / deploy (push) Failing after 10s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user