Skip to content

Commit

Permalink
Use HTTP solution
Browse files Browse the repository at this point in the history
  • Loading branch information
fivegrant committed Oct 19, 2023
1 parent 0963deb commit eb5cb03
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,11 @@ jobs:

# Execute simulation-integration reporting
simulation-integration:
needs:
- bake
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GHP_ACCESS_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'DARPA-ASKEM',
repo: 'simulation-integration',
workflow_id: 'report.yaml',
ref: 'main',
});
runs-on: ubuntu-latest
steps:
- name: Report
run: |
curl -X POST 'https://api.github.com/repos/DARPA-ASKEM/simulation-integration/actions/workflows/ci-development.yml/dispatches' \
-H 'Accept: application/vnd.github.everest-preview+json' \
-H 'Authorization: Bearer ${{ secrets.GHP_ACCESS_TOKEN }}' \
-d '{"ref":"main"}'

0 comments on commit eb5cb03

Please sign in to comment.