Skip to content

Commit 34b35d1

Browse files
committed
[.github] - fix: update secrets and app ID for connector infra deployment
- Switch to using specific app ID and private key for infra deployment - Correct the environment variable used for the GitHub token in the dispatch event trigger
1 parent 3be13ac commit 34b35d1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/deploy-connectors-infra.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,15 @@ jobs:
5050
id: generate-token
5151
uses: actions/create-github-app-token@v1
5252
with:
53-
app-id: ${{ vars.APP_ID }}
54-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
55-
53+
app-id: ${{ vars.INFRA_DISPATCH_APP_ID }}
54+
private-key: ${{ secrets.INFRA_DISPATCH_APP_PRIVATE_KEY }}
5655

5756
- name: Trigger dust-infra workflow
5857
uses: actions/github-script@v6
5958
env:
6059
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
6160
with:
62-
github-token: ${{ secrets.GH_TOKEN }}
61+
github-token: ${{ env.GH_TOKEN }}
6362
script: |
6463
await github.rest.repos.createDispatchEvent({
6564
owner: 'dust-tt',

0 commit comments

Comments
 (0)