Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sime3134 committed Jul 12, 2024
1 parent 6667112 commit 7dce79b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ jobs:
git config --local user.email "actions@github.com"
git add dist/g-calendar-fetcher.min.js
git commit -m "Add minified file for version ${{ github.ref_name }}"
git push origin main
git fetch origin main # Ensure the main branch is up-to-date
git checkout main # Checkout the main branch
git pull origin main # Pull latest changes
git push origin main # Push changes to main
- name: Create Release
if: startsWith(github.event.ref, 'refs/tags/v') # Only run for tags
Expand Down

0 comments on commit 7dce79b

Please sign in to comment.