diff --git a/.github/workflows/r2-mirror.yml b/.github/workflows/r2-mirror.yml index 2cdaed944..cffa80348 100644 --- a/.github/workflows/r2-mirror.yml +++ b/.github/workflows/r2-mirror.yml @@ -1,21 +1,13 @@ name: Mirror repository content to R2 storage bucket -on: - push: - branches: - - gh-pages - - schedule: - # Pushes to `gh-pages` done from other actions cannot trigger this action so we also want it to run - # on a schedule. Let's give the nightly job a 1h head-start and run every day at 1:00. - - cron: "0 1 * * *" +on: pull_request env: R2_BUCKET: solc-bin R2_ACCOUNT_ID: 1fbd136205d2c780838f0d2c014bf69c R2_ZONE: EEUR CLOUDFLARE_ZONE_ID: d63261269eeac3abf4c1b2f52e71ae1b - CLOUDFLARE_CACHE_HOST: binaries.soliditylang-test.org + CLOUDFLARE_CACHE_HOST: binaries.soliditylang.org jobs: mirror-content: