Skip to content

Commit

Permalink
Add GH actions support
Browse files Browse the repository at this point in the history
  • Loading branch information
esolitos authored Feb 8, 2022
1 parent f33bdf6 commit 39796bb
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Ansible Lint

on:
push:
branches: [ master ]

workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v2
-
name: ansible-lint
uses: ansible/[email protected]

publish:
runs-on: ubuntu-latest
env:
ansible-galaxy-key: ${{ secrets.ANSIBLE_GALAXY_KEY }}
steps:
-
uses: actions/checkout@v2
-
name: Publish Ansible role to Galaxy
uses: robertdebock/[email protected]
with:
galaxy_api_key: ${{ env.ansible-galaxy-key }}

0 comments on commit 39796bb

Please sign in to comment.