mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-26 02:11:30 +00:00
workflows: test
This commit is contained in:
parent
8001e8dd54
commit
efea786a0b
1 changed files with 5 additions and 2 deletions
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 a new issue