Skip to content

Commit 0df7786

Browse files
committed
chore: actually call the dispatcher
1 parent 2fdf88f commit 0df7786

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/reusable_dispatch_analytics.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@ jobs:
1313
group: analytics
1414
runs-on: ubuntu-latest
1515
steps:
16-
- name: AWS credentials
16+
- name: Configure AWS credentials
1717
uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
1818
with:
1919
aws-region: eu-central-1
2020
role-to-assume: ${{ secrets.AWS_ANALYTICS_ROLE_ARN }}
21-
- name: test
21+
22+
- name: Invoke Lambda function
2223
run: |
23-
aws sts get-caller-identity
24+
aws lambda invoke \
25+
--function-name ${{ secrets.AWS_ANALYTICS_DISPTACHER_ARN }} \
26+
--payload '{"githubToken": "${{ secrets.GITHUB_TOEN }}"}' response.json
27+
cat response.json

0 commit comments

Comments
 (0)