22 lines
428 B
YAML
22 lines
428 B
YAML
name: Ansible
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
linter:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Lint Ansible Playbook
|
|
uses: ansible/ansible-lint-action@master
|
|
|
|
release:
|
|
needs:
|
|
- linter
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: galaxy
|
|
uses: robertdebock/galaxy-action@1.0.3
|
|
with:
|
|
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|