test: attempting to use ssh-agent
Some checks failed
Deploy main page / deploy (push) Failing after 19s
Some checks failed
Deploy main page / deploy (push) Failing after 19s
This commit is contained in:
@ -18,7 +18,7 @@ jobs:
|
|||||||
|
|
||||||
- name: SSH-Agent Setup
|
- name: SSH-Agent Setup
|
||||||
id: set-up-ssh
|
id: set-up-ssh
|
||||||
uses: webfactory/ssh-agent@v0.9.0
|
uses: webfactory/ssh-agent@v0.9.1
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.DOKKU_DEPLOY_KEY }}
|
ssh-private-key: ${{ secrets.DOKKU_DEPLOY_KEY }}
|
||||||
|
|
||||||
@ -27,5 +27,7 @@ jobs:
|
|||||||
SSH_AUTH_SOCK: steps.set-up-ssh.outputs.SSH_AUTH_SOCK
|
SSH_AUTH_SOCK: steps.set-up-ssh.outputs.SSH_AUTH_SOCK
|
||||||
GIT_SSH_COMMAND: 'ssh -A -o UserKnownHostsFile=/home/node/.ssh/known_hosts'
|
GIT_SSH_COMMAND: 'ssh -A -o UserKnownHostsFile=/home/node/.ssh/known_hosts'
|
||||||
run: |
|
run: |
|
||||||
|
echo "ssh agent = $SSH_AUTH_SOCK"
|
||||||
|
echo "git ssh command = $GIT_SSH_COMMAND"
|
||||||
git remote add dokku dokku@192.168.1.46:main-page
|
git remote add dokku dokku@192.168.1.46:main-page
|
||||||
git push dokku master --force
|
git push dokku master --force
|
Reference in New Issue
Block a user