mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-12-27 10:36:09 -07:00
workflows: test
This commit is contained in:
parent
8001e8dd54
commit
efea786a0b
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -17,8 +17,11 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Test
|
||||
run: |
|
||||
ping -c 3 alpine
|
||||
nc -z alpine 22
|
||||
apk -U add openssh
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{secrets.SSH_PRIVATE_KEY}}" > ~/.ssh/id_rsa
|
||||
chmod 400 ~/.ssh/id_rsa
|
||||
ssh -o StrictHostKeyChecking=no alpine exit
|
||||
- name: Run
|
||||
uses: ./
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue
Block a user