Skip to content

Commit

Permalink
fix: changed the Secret token and repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
codechirag123 committed Nov 28, 2024
1 parent 4573b3f commit d5da7b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-preview-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ jobs:
- name: Trigger workflow in another repo
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GH_TOKEN }}
github-token: ${{ secrets.GIT_TOKEN }}
script: |
await github.rest.repos.createDispatchEvent({
owner: 'ballerine-io',
repo: 'ballerine',
repo: 'cloud-infra-config',
event_type: 'deploy-preview',
client_payload: {
'ref': '${{ needs.deploy-dev-pr-environment.outputs.env_name }}'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/destroy-preview-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ jobs:
- name: Trigger workflow in another repo
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GH_TOKEN }}
github-token: ${{ secrets.GIT_TOKEN }}
script: |
await github.rest.repos.createDispatchEvent({
owner: 'ballerine-io',
repo: 'ballerine',
repo: 'cloud-infra-config',
event_type: 'destroy-preview',
client_payload: {
'ref': '${{ needs.deploy-dev-pr-environment.outputs.env_name }}'
Expand Down

0 comments on commit d5da7b2

Please sign in to comment.