added deployment to gimli

This commit is contained in:
2026-02-12 23:14:20 +00:00
parent a433830d1d
commit 1ccf4d3d72
+14 -2
View File
@@ -48,7 +48,7 @@ jobs:
ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:${{ github.event.head_commit.id }}
cache-from: type=gha
cache-to: type=gha,mode=max
deployment:
deploy-to-rpic:
runs-on: ubuntu-latest
needs: build
@@ -60,7 +60,7 @@ jobs:
hostname: 'blog-gh-actions'
management-url: ${{ secrets.NETBIRD_URL }}
- name: Deploy to RPIC Cluster
- name: Deploy to Cluster
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.SSH_HOST }}
@@ -69,6 +69,18 @@ jobs:
port: ${{ secrets.SSH_PORT }}
script: 'kubectl rollout restart deployment blog -n blog-ahmza-com'
deploy-to-gimli-blog:
runs-on: ubuntu-latest
needs: build
steps:
- name: Netbird Connect
uses: Alemiz112/netbird-connect@v1
with:
setup-key: ${{ secrets.NETBIRD_SETUP_KEY }}
hostname: 'blog-gh-actions'
management-url: ${{ secrets.NETBIRD_URL }}
- name: Deploy to gimli-blog
uses: appleboy/ssh-action@v1
with: