ci
Some checks failed
Deploy / deploy (push) Failing after 19s

This commit is contained in:
2026-01-16 00:54:39 +01:00
parent ac3433a361
commit 7523c3f63a

View File

@@ -1,4 +1,4 @@
name: Deploy to Alpha
name: Deploy
on:
push:
@@ -10,12 +10,14 @@ jobs:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install tools
run: |
apk add --no-cache docker-cli openssh-client
apk add --no-cache git docker-cli openssh-client
- name: Clone repo
run: |
git clone https://git.infra.mintel.me/mmintel/mb-grid-solutions.com.git .
git checkout main
- name: Login to registry
env:
@@ -41,6 +43,6 @@ jobs:
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -H alpha.mintel.me >> ~/.ssh/known_hosts
- name: Deploy on Alpha
- name: Deploy
run: |
ssh deploy@alpha.mintel.me "cd /opt/alpha/sites/mb-grid-solutions && docker compose pull && docker compose up -d"