Skip to content

Commit

Permalink
Expand docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Dec 22, 2019
1 parent 6103494 commit 831d2a3
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ The API Key for your personal Galaxy account. Found under https://galaxy.ansible

```yaml
---
name: GitHub Action

on:
- push

Expand All @@ -40,7 +42,38 @@ jobs:
- name: checkout
uses: actions/checkout@v2
- name: galaxy
uses: robertdebock/galaxy-action@master
uses: robertdebock/[email protected]
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
```
Here is a another example that uses molecule to test the role and this Galaxy action to release:
```yaml
name: GitHub Action

on:
- push

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/[email protected]
with:
image: ${{ matrix.image }}
release:
needs:
- test
runs-on: ubuntu-latest
steps:
- name: galaxy
uses: robertdebock/[email protected]
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
```

0 comments on commit 831d2a3

Please sign in to comment.