mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-12-28 02:56: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
|
uses: actions/checkout@v2
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
ping -c 3 alpine
|
apk -U add openssh
|
||||||
nc -z alpine 22
|
mkdir -p ~/.ssh
|
||||||
|
echo "${{secrets.SSH_PRIVATE_KEY}}" > ~/.ssh/id_rsa
|
||||||
|
chmod 400 ~/.ssh/id_rsa
|
||||||
|
ssh -o StrictHostKeyChecking=no alpine exit
|
||||||
- name: Run
|
- name: Run
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user