Skip to content

Commit 7af39a9

Browse files
committed
add publish commit workflow
1 parent f83ba25 commit 7af39a9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish Commit for performance testing
2+
on:
3+
push:
4+
branches:
5+
- master
6+
permissions:
7+
id-token: write # This is required for requesting the JWT
8+
contents: read # This is required for actions/checkout
9+
jobs:
10+
publishCommit:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: aws-actions/configure-aws-credentials@v4
14+
with:
15+
role-to-assume: GitHubActionGrahQLJava
16+
aws-region: "ap-southeast-2"
17+
- run: aws sns publish --topic-arn "arn:aws:sns:ap-southeast-2:637423498965:graphql-java-commits.fifo" --message $GITHUB_SHA

0 commit comments

Comments
 (0)