Skip to content

Commit

Permalink
Debug Deploy Connectors infra GH action (#8666)
Browse files Browse the repository at this point in the history
  • Loading branch information
flvndvd authored Nov 15, 2024
1 parent dd5b9e7 commit 24dff08
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/deploy-connectors-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,16 @@ jobs:
app-id: ${{ secrets.INFRA_DISPATCH_APP_ID }}
private-key: ${{ secrets.INFRA_DISPATCH_APP_PRIVATE_KEY }}

- name: Trigger dust-infra workflow
uses: actions/github-script@v6
- name: Use the token
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
gh api octocat
- name: Trigger dust-infra workflow
uses: actions/github-script@v6
with:
github-token: ${{ env.GH_TOKEN }}
github-token: ${{ steps.generate-token.outputs.token }}
script: |
await github.rest.repos.createDispatchEvent({
owner: 'dust-tt',
Expand All @@ -69,4 +73,4 @@ jobs:
component: 'connectors',
image_tag: '${{ steps.short_sha.outputs.short_sha }}'
}
});
});

0 comments on commit 24dff08

Please sign in to comment.