Skip to content

Commit

Permalink
ci: Fixes heads
Browse files Browse the repository at this point in the history
  • Loading branch information
ntlhui authored Jan 4, 2024
1 parent 131f972 commit 91fc1d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/latex_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
path: e4e_weekly_presentation*
- name: Deploy to Github Pages
uses: JamesIves/[email protected]
if: ${{ github.ref == 'ref/head/main' }}
if: ${{ github.ref == 'ref/heads/main' }}
with:
branch: gh-pages
clean: true
Expand All @@ -48,7 +48,7 @@ jobs:
echo "today_date=$(date -I)" >> $GITHUB_ENV
- name: Create Release
uses: marvinpinto/[email protected]
if: ${{ github.event_name == 'schedule' && github.ref == 'ref/head/main' }}
if: ${{ github.event_name == 'schedule' && github.ref == 'ref/heads/main' }}
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ env.today_date }}
Expand Down

0 comments on commit 91fc1d9

Please sign in to comment.