Some checks failed
Deploy / deploy (push) Failing after 25s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
23 lines
491 B
YAML
23 lines
491 B
YAML
name: Deploy
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: catthehacker/ubuntu:act-latest
|
|
steps:
|
|
- 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
|