From a715f8bf043e11a146bd15afb4a3477e80805ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Burkard?= <22095555+JeromeBu@users.noreply.github.com> Date: Wed, 27 Mar 2024 11:47:58 +0100 Subject: [PATCH] setting up ssh connection to production --- .github/workflows/ci.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d5eeaf6a..e8895bfa 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -112,21 +112,21 @@ jobs: name: "Trigger production deploy (TODO)" runs-on: ubuntu-latest environment: production - concurrency: - group: deploy-to-production - cancel-in-progress: true - needs: - - docker - - poke_gitops +# concurrency: +# group: deploy-to-production +# cancel-in-progress: true +# needs: +# - docker +# - poke_gitops steps: - - run: echo "Triggering production deploy (TODO -> create script to deploy to production)" + - run: echo "Triggering production deploy" - name: Set up SSH run: | mkdir -p ~/.ssh echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 ssh-keyscan code.gouv.fr >> ~/.ssh/known_hosts - ssh -o StrictHostKeyChecking=no deployer@code.gouv.fr "ls -la websites" + ssh -o StrictHostKeyChecking=no web@code.gouv.fr "ls -la websites" env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}