Skip to content

Commit 5a0f234

Browse files
authored
fix: update GITHUB_TOKEN in homebrew pipeline (#1219)
1 parent 0c78f67 commit 5a0f234

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish-stable-aws.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Configure AWS Credentials
2222
uses: aws-actions/configure-aws-credentials@v1
2323
with:
24-
role-to-assume: ${{secrets.AWS_ROLE_NAME }}
24+
role-to-assume: ${{ secrets.AWS_ROLE_NAME }}
2525
role-session-name: github-actions-from-toolbelt
2626
aws-region: us-east-1
2727
- name: Deploy on AWS
@@ -38,14 +38,14 @@ jobs:
3838
- name: Get deploy version
3939
id: deployed-version
4040
run: echo '::set-output name=SOURCE_TAG::$(curl https://api.github.com/repos/vtex/toolbelt/releases/latest -s | jq .tag_name -r)'
41-
- name: Trigger slack notification bot [Success]
42-
run: 'curl --connect-timeout 30 --retry 3 --retry-delay 120 --data "status=success&user=${{ github.actor }}&platform=AWS-S3&version=${{ steps.deployed-version.outputs.SOURCE_TAG }}" --header "token: ${{ secrets.TOOLBELT_NOTIFICATION_KEY }}" https://master--vtex.myvtex.com/_v/public/toolbelt-notification/status'
4341
- name: Trigger publish-stable-brew
4442
uses: peter-evans/repository-dispatch@v1
4543
with:
46-
token: ${{ secrets.REPO_GHA_PAT }}
44+
token: ${{ secrets.GITHUB_TOKEN }}
4745
repository: vtex/homebrew-vtex
4846
event-type: publish-stable-brew
47+
- name: Trigger slack notification bot [Success]
48+
run: 'curl --connect-timeout 30 --retry 3 --retry-delay 120 --data "status=success&user=${{ github.actor }}&platform=AWS-S3&version=${{ steps.deployed-version.outputs.SOURCE_TAG }}" --header "token: ${{ secrets.TOOLBELT_NOTIFICATION_KEY }}" https://master--vtex.myvtex.com/_v/public/toolbelt-notification/status'
4949
publish-failed:
5050
runs-on: ubuntu-latest
5151
needs: [aws-publish]

0 commit comments

Comments
 (0)