.
This commit is contained in:
@@ -8,6 +8,18 @@ on:
|
||||
jobs:
|
||||
checkout-code:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: build git runner
|
||||
shell: bash
|
||||
run: |
|
||||
ls ${{gitea.workspace}} -lah
|
||||
docker build ${{gitea.workspace}}/services/git-runner homesrv/git-runner
|
||||
|
||||
ansible-playbook:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: homesrv/git-runner
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
@@ -15,24 +27,7 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
ls ${{gitea.workspace}} -lah
|
||||
|
||||
ansible-playbook:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: librespace/ansible
|
||||
volumes:
|
||||
- ${{gitea.workspace}}/ansible:/ansible
|
||||
steps:
|
||||
- name: ls
|
||||
shell: bash
|
||||
run: |
|
||||
ls ${{gitea.workspace}} -lah
|
||||
ls /ansible -lah
|
||||
# run: |
|
||||
# ls
|
||||
# - name: ls
|
||||
# run: |
|
||||
# ls -lah
|
||||
|
||||
|
||||
|
||||
# - name: Install Ansible
|
||||
|
||||
Reference in New Issue
Block a user