Skip to content

Commit

Permalink
[ci] move cw publish step to github hosted runner (#2978)
Browse files Browse the repository at this point in the history
  • Loading branch information
siddvenk authored Feb 2, 2024
1 parent 4762492 commit 557efd6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish-job-success.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@ on:
branches:
- master

permissions:
id-token: write
contents: read

jobs:
publish-job-success-to-cloudwatch:
if: ${{ github.event.workflow_run.event == 'schedule' }}
runs-on: [ self-hosted, scheduler ]
runs-on: ubuntu-latest
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::185921645874:role/djl-github-cloudwatch-ci-metrics
aws-region: us-west-2
- name: Publish Job Success Metric
env:
Expand Down

0 comments on commit 557efd6

Please sign in to comment.