diff --git a/.github/workflows/weekly_csv_release.yml b/.github/workflows/weekly_csv_release.yml index 8f0fa38..c8091bc 100644 --- a/.github/workflows/weekly_csv_release.yml +++ b/.github/workflows/weekly_csv_release.yml @@ -3,8 +3,11 @@ on: push: branches: - main - schedule: - - cron: '0 10 * * 1' # Every Monday at 10AM + pull_request: + # schedule: + # - cron: '0 10 * * 1' # Every Monday at 10AM + #adding random comment + jobs: generate_and_release_csv: @@ -88,6 +91,6 @@ jobs: then gh release delete $LATEST_RELEASE_NAME fi - gh release create $LATEST_RELEASE_NAME ./private/output/ocw_oer_export.csv -t "Latest Release" -n "This release was created for CSV weekly output. This release contains the most recent CSV. Please get the CSV file from the Assets listed below." --latest + gh release create $LATEST_RELEASE_NAME ./private/output/ocw_oer_export.csv -t "Latest Release" -n "This release was created for CSV weekly output. This release contains the most recent CSV. Please get the CSV file from the Assets listed below." --latest --target $GITHUB_SHA env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}