From 4b5841700b6e561ad89435b00b83f908795363f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Rodrigo?= Date: Thu, 25 Jan 2024 15:45:42 +0100 Subject: [PATCH] ci: more generic deploy --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd11cbbe7..9e23783ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,14 +153,14 @@ jobs: - name: Deploy uses: appleboy/ssh-action@v1.0.3 with: - host: dev.appcarto.teritorio.xyz - username: devappcarto + host: ${{secrets.DEPLOY_SSH_HOST}} + username: ${{secrets.DEPLOY_SSH_USERNAME}} key: ${{secrets.DEPLOY_SSH_KEY_DEV}} port: 2222 script: | echo -n 'VIDO: Deployment started at: ' && date -u && - cd /var/www/clients/client3/web3/web/vido && + cd ${{secrets.DEPLOY_SSH_PATH}} && git fetch && git checkout -f origin/develop && ruby poi_explode.rb cypress/fixtures/teritorio/references/pois.geojson &&