Skip to content

Commit 2fbc71f

Browse files
author
Layko Andrey
committed
some
1 parent 96c3d9b commit 2fbc71f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)