Files
webSite/.gitea/workflows/build.yml
Atakan 3adb87d40d
All checks were successful
Build & Deploy Vite App (Docker Compose) / build-and-deploy (push) Successful in 54s
added build confs
2025-11-28 16:31:20 +03:00

23 lines
501 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Build & Deploy Vite App (Docker Compose)
on:
push:
branches:
- main # hangi branch'i takip edeceksen onu yaz
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Kodu checkout et
uses: actions/checkout@v3
- name: Docker Compose ile deploy
run: |
# Eski container'ları kapat
docker compose down || true
# Image'i yeniden build et ve container'ı ayağa kaldır
docker compose up -d --build