deploy
Some checks failed
Build & Deploy / deploy (push) Failing after 43s

This commit is contained in:
2026-01-17 16:34:09 +01:00
parent d8184caa9d
commit 0f3eecbc48
2 changed files with 6 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ jobs:
# --- Checkout ---
- name: Checkout repo
run: |
git clone https://git.infra.mintel.me/mintel/klz-cables.git .
git clone https://git.infra.mintel.me/mmintel/klz-cables.com.git .
git checkout main
# --- Docker registry login ---
@@ -40,12 +40,12 @@ jobs:
- name: Build image
run: |
docker build \
-t registry.infra.mintel.me/mintel/klz-cables:latest .
-t registry.infra.mintel.me/mintel/klz-cables.com:latest .
# --- Push image ---
- name: Push image
run: |
docker push registry.infra.mintel.me/mintel/klz-cables:latest
docker push registry.infra.mintel.me/mintel/klz-cables.com:latest
# --- SSH setup ---
- name: Setup SSH
@@ -61,13 +61,13 @@ jobs:
- name: Sync compose file
run: |
rsync -av ./docker-compose.y*ml \
deploy@alpha.mintel.me:/home/deploy/sites/klz-cables/
deploy@alpha.mintel.me:/home/deploy/sites/klz-cables.com/
# --- Deploy ---
- name: Deploy on server
run: |
ssh deploy@alpha.mintel.me '
cd /home/deploy/sites/klz-cables &&
cd /home/deploy/sites/klz-cables.com &&
docker compose -f docker-compose.yml pull 2>/dev/null ||
docker compose -f docker-compose.yaml pull &&
docker compose up -d