ing tailscale ssh instead of keys

This commit is contained in:
2025-06-06 00:37:27 +01:00
parent e57acb2fc5
commit 4385ec04f0
+4 -3
View File
@@ -55,13 +55,14 @@ jobs:
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:prod-ahmza-blog
tags: tag:ci
version: 1.80.0
- name: deploy
- name: Deploy to Cluster
uses: appleboy/ssh-action@v1.2.2
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
password: "tailscale"
port: ${{ secrets.SSH_PORT }}
script: 'kubectl rollout restart deployment blog-deploy -n blog'