23 lines
476 B
YAML
23 lines
476 B
YAML
name: Build und Deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build-and-deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 🧾 Repository auschecken
|
|
uses: actions/checkout@v3
|
|
|
|
- name: 🛠 Baue das Projekt
|
|
run: |
|
|
echo "🔧 Baue Projekt..."
|
|
./gradlew build
|
|
|
|
- name: 🚀 Deployment ausführen
|
|
run: |
|
|
echo "📦 Starte Deployment..."
|
|
docker compose -f ./compose.yml up -d --build |