Add an Gitea Action for Deploying Ansible Playbooks #1

Merged
BenHays42 merged 12 commits from ansible-deploy-action into main 2024-10-13 01:42:00 +00:00
Showing only changes of commit c1e2aa4551 - Show all commits

View File

@ -16,6 +16,8 @@ jobs:
- name: Copy SSH Key - name: Copy SSH Key
run: | run: |
mkdir ~/.ssh/ mkdir ~/.ssh/
echo "Host *" > ~/.ssh/config
echo " StrictHostKeyChecking no" >> ~/.ssh/config
echo '${{secrets.SSH_PRIVATE_KEY}}' > ~/.ssh/id_rsa echo '${{secrets.SSH_PRIVATE_KEY}}' > ~/.ssh/id_rsa
- uses: actions/checkout@v3 - uses: actions/checkout@v3