From 5f59a8c43b6507932247f74543816a039d1ef342 Mon Sep 17 00:00:00 2001 From: Rob Brackett Date: Thu, 29 Aug 2024 15:18:09 -0700 Subject: [PATCH] Run GitHub Actions full time, disable CircleCI (#75) We'll check back in to make sure this is working well in a week or so, and then delete the CircleCI config entirely. --- .circleci/config.yml | 31 ++++++++++++++++++------------- .github/workflows/zoom-upload.yml | 6 ++---- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a200aa9..772b9df 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -61,16 +61,21 @@ workflows: - upload-zoom-recordings: delete_after_upload: false dry_run: true - youtube-upload: - jobs: - - upload-zoom-recordings: - delete_after_upload: true - triggers: - - schedule: - # Every hour in the afternoon at :10 on weekdays - # (This is only in the afternoon so we can compare how this is doing - # vs. how GitHub Actions is doing and then maybe turn off Circle.) - cron: "10 13-23 * * 1-5" - filters: - branches: - only: main + + # FIXME: This script is temporarily disabled in CircleCI. Once we are + # confident it's doing the job reliably on GitHub, delete this whole + # CircleCI config file. + # + # youtube-upload: + # jobs: + # - upload-zoom-recordings: + # delete_after_upload: true + # triggers: + # - schedule: + # # Every hour in the afternoon at :10 on weekdays + # # (This is only in the afternoon so we can compare how this is doing + # # vs. how GitHub Actions is doing and then maybe turn off Circle.) + # cron: "10 13-23 * * 1-5" + # filters: + # branches: + # only: main diff --git a/.github/workflows/zoom-upload.yml b/.github/workflows/zoom-upload.yml index c1b8e0a..27e6101 100644 --- a/.github/workflows/zoom-upload.yml +++ b/.github/workflows/zoom-upload.yml @@ -2,10 +2,8 @@ name: Upload Zoom Recordings to YouTube on: schedule: - # 10 minutes after every hour before noon on weekdays - # TODO: when we are ready to switch off Circle, run every hour instead of - # just in the morning. - - cron: "10 0-12 * * 1-5" + # 10 minutes after every hour on weekdays + - cron: "10 * * * 1-5" workflow_dispatch: inputs: