diff --git a/README.md b/README.md index 5cc2f1a..f6e94cd 100644 --- a/README.md +++ b/README.md @@ -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 }} +``` \ No newline at end of file