Skip to content

Commit

Permalink
Branch-agnostic updater
Browse files Browse the repository at this point in the history
  • Loading branch information
Acumane authored Oct 7, 2023
1 parent cf2c627 commit 938bc8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/course-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ jobs:
git config user.name "Vacansee"
git config user.email "[email protected]"
git commit -m "Updated on $(TZ=EST5EDT date)"
git push origin main
git push origin $branch
else
echo "No changes to commit"
fi
env:
branch: ${{ github.ref_name }}
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 938bc8f

Please sign in to comment.