From 55e0eecc0b399c6dadea4827692484f6b10c3d44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20DURR?= Date: Fri, 26 Aug 2022 13:58:45 +0200 Subject: [PATCH] SSH Connection now works --- .github/workflows/deploy.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d59f4c5b..40539ed2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,19 +15,18 @@ jobs: uses: appleboy/ssh-action@v0.1.5 with: # Proxy - # proxy_host : ${{secrets.PROXY_HOST}} - # proxy_port : ${{secrets.PROXY_PORT}} - # proxy_username : ${{secrets.PROXY_USER}} - # proxy_passphrase: ${{secrets.PROXY_PASSPHRASE}} - # proxy_key: ${{secrets.PROXY_KEY}} + proxy_host : ${{secrets.PROXY_HOST}} + proxy_port : ${{secrets.PROXY_PORT}} + proxy_username : ${{secrets.PROXY_USER}} + proxy_passphrase: ${{secrets.PROXY_PASSPHRASE}} + proxy_key: ${{secrets.PROXY_KEY}} # Serveur web - host: ${{secrets.PROXY_HOST}} - port : ${{secrets.PROXY_PORT}} - username : ${{secrets.PROXY_USER}} - key: ${{secrets.PROXY_KEY}} - passphrase: ${{secrets.PROXY_PASSPHRASE}} + host: ${{secrets.HOST}} + port : ${{secrets.PORT}} + username : ${{secrets.USER}} + key: ${{secrets.KEY}} - debug: true - - script: whoami \ No newline at end of file + script: | + whoami + ls -al \ No newline at end of file