mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2025-09-03 15:25:46 -06:00
Update test.yml
This commit is contained in:
parent
7c352ee131
commit
57803a1669
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@ -26,6 +26,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup remote
|
- name: Setup remote
|
||||||
run: |
|
run: |
|
||||||
|
mkdir "$HOME/.ssh"
|
||||||
echo "$SSH_PUBLIC_KEY" | tee "$HOME/.ssh/authorized_keys"
|
echo "$SSH_PUBLIC_KEY" | tee "$HOME/.ssh/authorized_keys"
|
||||||
chmod 600 "$HOME/.ssh/authorized_keys"
|
chmod 600 "$HOME/.ssh/authorized_keys"
|
||||||
echo 'SSH_KNOWN_HOSTS<<EOF' >> $GITHUB_ENV
|
echo 'SSH_KNOWN_HOSTS<<EOF' >> $GITHUB_ENV
|
||||||
|
Loading…
x
Reference in New Issue
Block a user