There was an error while loading. Please reload this page.
1 parent 84929b4 commit 0c6fb74Copy full SHA for 0c6fb74
1 file changed
.github/workflows/vault_connexion.yaml
@@ -18,9 +18,16 @@ jobs:
18
with:
19
url: ${{ secrets.VAULT_URL }}
20
method: jwt
21
- role: ${{ secrets.ROLE }}
+ role: ${{ secrets.VAULT_ROLE }}
22
jwtGithubAudience: ${{ secrets.JWT_GIT_AUDIENCE }}
23
secrets: |
24
${{ secrets.VAULT_VPS_SSH_SERVER_IP }} | VPS_SERVER_IP
25
- ${{ secrets.VAULT_VPS_SSH_SERVER_PASS }} | VPS_SSH_SERVER_PASS
26
- ${{ secrets.VAULT_SSH_PRIVATE_KEY }} | SSH_PRIVATE_KEY
+ ${{ secrets.VAULT_VPS_SSH_SERVER_PASS }} | VPS_SSH_PASS
+ - name: Connect VPS
27
+ uses: garygrossgarten/github-action-ssh@release
28
+ with:
29
+ command: sh update_chatbot.sh
30
+ host: ${{ steps.import-secrets.outputs.VPS_SERVER_IP }}
31
+ username: debian
32
+ passphrase: ${{ steps.import-secrets.outputs.VPS_SSH_PASS }}
33
+ privateKey: ${{ steps.import-secrets.outputs.VPS_SSH_PRIVATE_KEY }}
0 commit comments