Merge pull request 'Fix SSH command to accept new host keys during deployment' (#100) from feature/workflows into development
Reviewed-on: ADUANASOFT/anexo76#100
This commit is contained in:
@@ -63,7 +63,7 @@ jobs:
|
||||
run: |
|
||||
eval $(ssh-agent -s)
|
||||
ssh-add <(echo "${{ secrets.DEV_SERVER_SSH_KEY }}")
|
||||
ssh -o StrictHostKeyChecking=yes \
|
||||
ssh -o StrictHostKeyChecking=accept-new \
|
||||
${{ secrets.DEV_SERVER_USER }}@${{ secrets.DEV_SERVER_HOST }} \
|
||||
'cd /opt/anexo76 && \
|
||||
echo '"'"'${{ secrets.HARBOR_PASSWORD }}'"'"' | docker login dev.aduanasoft.com -u '"'"'${{ secrets.HARBOR_USERNAME }}'"'"' --password-stdin && \
|
||||
|
||||
Reference in New Issue
Block a user