Skip to content

Commit

Permalink
fix prod autobuild for container
Browse files Browse the repository at this point in the history
  • Loading branch information
yapishu committed Oct 23, 2024
1 parent 8881416 commit 0abb055
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/build-ylem-container-prod-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@ on:
- solaris

jobs:
trigger-prod:
trigger-test:
environment: prod
runs-on: ubuntu-latest
steps:
- name: Internal prod build
uses: peter-evans/repository-dispatch@v3
uses: actions/github-script@v7
with:
token: ${{ secrets.GH_TOKEN }}
repository: "tloncorp/ylem"
event-type: prod-breach-docker-ship
github-token: ${{ secrets.GH_TOKEN }}
script: |
await github.rest.repos.createDispatchEvent({
owner: 'tloncorp',
repo: 'ylem',
event_type: 'prod-breach-ship-docker',
client_payload: { branch: 'main' }
});

0 comments on commit 0abb055

Please sign in to comment.