From 979e7b39a7c23863a9dabc0afd9d582206baefad Mon Sep 17 00:00:00 2001 From: Nathan Hui Date: Thu, 4 Jan 2024 14:30:34 -0800 Subject: [PATCH] ci: Fixes refs --- .github/workflows/latex_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/latex_build.yml b/.github/workflows/latex_build.yml index a6536ce..9358885 100644 --- a/.github/workflows/latex_build.yml +++ b/.github/workflows/latex_build.yml @@ -34,7 +34,7 @@ jobs: path: e4e_weekly_presentation* - name: Deploy to Github Pages uses: JamesIves/github-pages-deploy-action@v4.5.0 - if: ${{ github.ref == 'ref/heads/main' }} + if: ${{ github.ref == 'refs/heads/main' }} with: branch: gh-pages clean: true @@ -48,7 +48,7 @@ jobs: echo "today_date=$(date -I)" >> $GITHUB_ENV - name: Create Release uses: marvinpinto/action-automatic-releases@v1.2.1 - if: ${{ github.event_name == 'schedule' && github.ref == 'ref/heads/main' }} + if: ${{ github.event_name == 'schedule' && github.ref == 'refs/heads/main' }} with: repo_token: "${{ secrets.GITHUB_TOKEN }}" automatic_release_tag: ${{ env.today_date }}