File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,6 @@ jobs:
144144
145145 - name : Setup deploy
146146 run : |
147- export DEPLOY_SSH_KEY="${{ secrets.SPRINT_DEPLOY_SSH_KEY }}"
148147 export REMOTE_SERVER="${{ secrets.SPRINT_SERVER }}"
149148 export DOCKER_HOST="ssh://gitlab@${{ secrets.SPRINT_SERVER }}"
150149 export DOCKER_USER_NAME="${{ secrets.DOCKERHUB_USER_NAME }}"
@@ -157,7 +156,7 @@ jobs:
157156 sudo apt install openssh-client
158157 sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
159158 eval $(ssh-agent -s)
160- echo "$DEPLOY_SSH_KEY " | tr -d '\r' | ssh-add - > /dev/null
159+ echo "${{ secrets.SPRINT_DEPLOY_SSH_KEY }} " | tr -d '\r' | ssh-add - > /dev/null
161160 mkdir -p ~/.ssh
162161 chmod 700 ~/.ssh
163162 ssh-keyscan $REMOTE_SERVER >> ~/.ssh/known_hosts
You can’t perform that action at this time.
0 commit comments