Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jca27 authored Aug 30, 2023
1 parent 839351e commit 37de921
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ When deploying an app you may need to deploy additional services, this Github Ac
### Simple

```yaml
- uses: convictional/[email protected]
- uses: patriotsoftware/[email protected]
with:
owner: keithconvictional
owner: synergydatasystems
repo: myrepo
github_token: ${{ secrets.GITHUB_PERSONAL_ACCESS_TOKEN }}
```
### All Options
```yaml
- uses: convictional/[email protected]
- uses: patriotsoftware/[email protected]
with:
owner: keithconvictional
owner: synergydatasystems
repo: myrepo
github_token: ${{ secrets.GITHUB_PERSONAL_ACCESS_TOKEN }}
github_user: github-user
Expand All @@ -61,9 +61,9 @@ When deploying an app you may need to deploy additional services, this Github Ac
### Comment the current running workflow URL for a PR
```yaml
- uses: convictional/[email protected]
- uses: patriotsoftware/[email protected]
with:
owner: keithconvictional
owner: synergydatasystems
repo: myrepo
github_token: ${{ secrets.GITHUB_PERSONAL_ACCESS_TOKEN }}
comment_downstream_url: ${{ github.event.pull_request.comments_url }}
Expand All @@ -74,7 +74,7 @@ When deploying an app you may need to deploy additional services, this Github Ac
You can test out the action locally by cloning the repository to your computer. You can run:
```shell
INPUT_OWNER="keithconvictional" \
INPUT_OWNER="synergydatasystems" \
INPUT_REPO="myrepo" \
INPUT_GITHUB_TOKEN="<REDACTED>" \
INPUT_GITHUB_USER="github-user" \
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
sleep 25
```

You can see the example [here](https://github.com/keithconvictional/trigger-workflow-and-wait-example-repo1/blob/master/.github/workflows/main.yml). For testing a failure case, just add this line after the sleep:
You can see the example [here](https://github.com/patriotsoftware/trigger-workflow-and-wait-example-repo1/blob/master/.github/workflows/main.yml). For testing a failure case, just add this line after the sleep:

```yaml
...
Expand All @@ -122,9 +122,9 @@ You can see the example [here](https://github.com/keithconvictional/trigger-work
If you do not want the latest build all of the time, please use a versioned copy of the Github Action. You specify the version after the `@` sign.

```yaml
- uses: convictional/[email protected]
- uses: patriotsoftware/[email protected]
with:
owner: keithconvictional
owner: synergydatasystems
repo: myrepo
github_token: ${{ secrets.GITHUB_PERSONAL_ACCESS_TOKEN }}
```

0 comments on commit 37de921

Please sign in to comment.