Add an Gitea Action for Deploying Ansible Playbooks #1
@ -19,6 +19,7 @@ jobs:
|
|||||||
echo "Host *" > ~/.ssh/config
|
echo "Host *" > ~/.ssh/config
|
||||||
echo " StrictHostKeyChecking no" >> ~/.ssh/config
|
echo " StrictHostKeyChecking no" >> ~/.ssh/config
|
||||||
echo '${{secrets.SSH_PRIVATE_KEY}}' > ~/.ssh/id_rsa
|
echo '${{secrets.SSH_PRIVATE_KEY}}' > ~/.ssh/id_rsa
|
||||||
|
chmod 600 ~/.ssh/id_rsa
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user