1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2024-11-22 15:32:18 +00:00

workflows: run separate jobs

This commit is contained in:
Dawid Dziurla 2020-04-06 23:45:33 +02:00 committed by GitHub
parent 32a48fb292
commit b870361b37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ name: Test Action
on: push on: push
jobs: jobs:
test: test-remote:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
@ -26,6 +26,11 @@ jobs:
-e INPUT_KEY="${{secrets.SSH_PRIVATE_KEY}}" \ -e INPUT_KEY="${{secrets.SSH_PRIVATE_KEY}}" \
-e INPUT_OPTIONS="--inventory hosts --limit remote" \ -e INPUT_OPTIONS="--inventory hosts --limit remote" \
action action
test-local:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Test local - name: Test local
uses: ./ uses: ./
with: with: