Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
add minimal example on README
Browse files Browse the repository at this point in the history
  • Loading branch information
vschettino committed Dec 4, 2020
1 parent fb948ea commit ea09ab7
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
# GitHub Runner ECS Task Action
# Trigger External Workflow Action

GH Action to start a ECS task with a Self Hosted Runner

- https://github.com/PasseiDireto/trigger-external-workflow-action
GitHub Action that triggers a Workflow from another repository using "repository_dispatch" event

## Usage
.

```yaml

on: [push, workflow_dispatch]
jobs:
trigger:
runs-on: ubuntu-latest
name: "📦 Trigger Project Test"
steps:
- uses: passeidireto/trigger-external-workflow-action@main
env:
PAYLOAD_AUTHOR: ${{ github.author }}
with:
repository: my-org/my-repo
event: doc_update
github_pat: ${{ secrets.pat_with_access }}
```

0 comments on commit ea09ab7

Please sign in to comment.