Skip to content

Commit

Permalink
Merge pull request #2 from ibrahimjaved12/add-target-commit-2
Browse files Browse the repository at this point in the history
Test stuff
  • Loading branch information
ibrahimjaved12 authored Oct 8, 2024
2 parents 55d9c75 + c121c79 commit 8298d93
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/weekly_csv_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
# schedule:
# - cron: '0 10 * * 1' # Every Monday at 10AM
#adding random comment
#adding random cmoment


jobs:
Expand Down Expand Up @@ -90,7 +91,12 @@ jobs:
if gh release view $LATEST_RELEASE_NAME
then
gh release delete $LATEST_RELEASE_NAME
if git rev-parse $LATEST_RELEASE_NAME
then
git tag -d $LATEST_RELEASE_NAME
git push --delete origin $LATEST_RELEASE_NAME
fi
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 --target $GITHUB_SHA
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8298d93

Please sign in to comment.