mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-12-23 12:46:15 +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
|
||||
- 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 a new issue