mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-12-28 11:06:09 -07:00
workflows: run separate jobs
This commit is contained in:
parent
32a48fb292
commit
b870361b37
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user