added deployment to gimli

This commit is contained in:
2026-02-12 22:39:40 +00:00
parent 4fb2156fa9
commit 6d8f616bf0
2 changed files with 16 additions and 1 deletions
+10 -1
View File
@@ -57,7 +57,7 @@ jobs:
hostname: 'blog-gh-actions'
management-url: ${{ secrets.NETBIRD_URL }}
- name: Deploy to Cluster
- name: Deploy to RPIC Cluster
uses: appleboy/ssh-action@v1.2.2
with:
host: ${{ secrets.SSH_HOST }}
@@ -65,3 +65,12 @@ jobs:
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
script: 'kubectl rollout restart deployment blog -n blog-ahmza-com'
- name: Deploy to gimli-blog
uses: appleboy/ssh-action@1.2.2
with:
host: ${{ secrets.GIMLI_BLOG_HOST }}
username: ${{ secrets GIMLI_BLOG_USER }}
key: ${{ secrets.GIMLI_BLOG_KEY }}
port: ${{ secrets.GIMLI_BLOG_PORT }}
script: 'docker compose down && docker compose pull && docker compose up -d'
+6
View File
@@ -0,0 +1,6 @@
services:
blog:
image: ghcr.io/ahmzaa/blog-ahmza-com
ports:
- 80:80
restart: unless-stopped