ci: add canary + prod workflows

This commit is contained in:
moham committed 2025-09-18 00:09:15 +02:00
1 parent be50457e80
commit 97c71f365f
3 files changed
+52 -6

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
name: promote-to-prod
on:
workflow_dispatch: {}
concurrency:
group: promote-prod
cancel-in-progress: true
jobs:
promote:
runs-on: ubuntu-latest
steps:
- name: Promote to PROD
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
script: |
set -euo pipefail
export IHM_DRY_RUN=0
/srv/ihm/scripts/docker-run.sh