Skip to content

Commit 27809b6

Browse files
author
Alan Christie
committed
- Adds branding to action
- Doc tweak
1 parent eafdc03 commit 27809b6

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ A template variable, default `image_tag`
3131
A value for the template variable, default `latest`
3232

3333
## Example usage
34-
Here we trigger the AWX template **My Template**, expected to be
35-
on the server **https://example.com**. The user must have **Execute**
36-
permissions for the chosen template.
34+
Here we trigger the AWX template **My Template**, where the user is
35+
expected to have **Execute** permissions for the template.
3736

3837
```yaml
3938
uses: informaticsmatters/trigger-awx-action@v1
@@ -45,7 +44,7 @@ with:
4544
```
4645
4746
You can also define the value of a template variable. For example,
48-
here we set the variable `ma_image_tag` to `latest` when triggering
47+
here we set the variable **ma_image_tag** to **latest** when triggering
4948
**My Template**: -
5049
5150
```yaml
@@ -59,9 +58,9 @@ with:
5958
template-var-value: latest
6059
```
6160
62-
As AWX might be considered an **Environment** you'd typically store your
63-
secrets in a GitHub **Environment** rather than use **Repository** or
64-
**Organisation** secrets.
61+
> As AWX might be considered an **Environment** you'd typically store your
62+
secrets in a GitHub **Environment** rather than use **Repository** or
63+
**Organisation** secrets.
6564
6665
---
6766

action.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
name: Trigger AWX
33
author: Alan B. Christie
44
description: Launches a named Template on an AWX server
5+
branding:
6+
icon: play
7+
color: orange
8+
59
inputs:
610
template:
711
description: The name of the template to run
@@ -23,6 +27,7 @@ inputs:
2327
description: A value for the template variable
2428
required: false
2529
default: latest
30+
2631
runs:
2732
using: docker
2833
image: Dockerfile

0 commit comments

Comments
 (0)