Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davi17g committed Apr 14, 2024
1 parent b73f328 commit 4428e1c
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,9 @@ jobs:
test-job:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
name: Invoke docker image build
env:
OWNER: ${{ secrets.ORG }}
REPO: ${{ secrets.REPO }}
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
debug: true
github-token: ${{ secrets.PAT }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: ${{ env.OWNER }},
repo: ${{ env.REPO }},
workflow_id: 'hello-world.yml',
ref: 'APPS-1189-improve-release-github-action-workflow'
})
token: ${{ secrets.PAT }}
repository: ${{ secrets.ORG }}/${{ secrets.REPO }}
event-type: my-event

0 comments on commit 4428e1c

Please sign in to comment.