Skip to content

Commit

Permalink
use alternate dispatch action
Browse files Browse the repository at this point in the history
  • Loading branch information
yapishu committed Oct 23, 2024
1 parent 5d4489a commit d3ba361
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/build-ylem-container-test-env.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Trigger internal azimuth-cli prod build
name: Trigger internal azimuth-cli test build

on:
workflow_dispatch:
Expand All @@ -7,16 +7,9 @@ jobs:
trigger-test:
runs-on: ubuntu-latest
steps:
- name: Send repository dispatch to ylem (test)
uses: actions/github-script@v6
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Internal test build
uses: peter-evans/repository-dispatch@v3
with:
script: |
const { GITHUB_TOKEN } = process.env;
await github.rest.actions.createDispatchEvent({
owner: 'tloncorp',
repo: 'ylem',
event_type: 'test-breach-ship-docker',
client_payload: { branch: 'main' }
});
token: ${{ secrets.GH_TOKEN }}
repository: tloncorp/ylem
event-type: test-breach-docker-ship

0 comments on commit d3ba361

Please sign in to comment.