Skip to content

Commit

Permalink
Add cron scheduling
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Chang <[email protected]>
  • Loading branch information
amzn-changml authored Sep 26, 2024
1 parent 67802d8 commit 2bca845
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/archive-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ name: Archive repos
on:
# Allows you to run this workflow manually from the Actions tag
workflow_dispatch:
# Runs on a schedule. cron time is based on UTC
schedule:
- cron: "0 7 * * *"

permissions:
contents: write
Expand Down Expand Up @@ -65,4 +68,4 @@ jobs:
tag: ${{ steps.vars.outputs.archive_file }}
body: |
${{ steps.vars.outputs.latest_log }}
artifacts: ${{ steps.vars.outputs.archive_file }}.tar*
artifacts: ${{ steps.vars.outputs.archive_file }}.tar*

0 comments on commit 2bca845

Please sign in to comment.