Skip to content

Commit

Permalink
action: update the aws cleanup action
Browse files Browse the repository at this point in the history
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
  • Loading branch information
iamniting committed Jun 7, 2024
1 parent b7e6f93 commit c15325c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/aws-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
name: aws-cleanup

on:
workflow_dispatch:
schedule:
- cron: '*/5 * * * *'
- cron: '*/5 * * * *'

jobs:
cleanup:
Expand All @@ -25,8 +26,8 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
aws configure aws_access_key_id $AWS_ACCESS_KEY_ID
aws configure aws_secret_access_key $AWS_SECRET_ACCESS_KEY
aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID
aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY
- name: run cleanup script
run: hack/aws-cleanup.sh

0 comments on commit c15325c

Please sign in to comment.