Skip to content

Commit

Permalink
Merge pull request #1 from ibrahimjaved12/add-target-commit
Browse files Browse the repository at this point in the history
Add target
  • Loading branch information
ibrahimjaved12 authored Oct 8, 2024
2 parents e9ad73a + 1e17c82 commit 55d9c75
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/weekly_csv_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}

0 comments on commit 55d9c75

Please sign in to comment.