diff --git a/.github/workflows/latex_build.yml b/.github/workflows/latex_build.yml index cbaa727..1015703 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/head/master' }} + if: ${{ github.ref == 'ref/head/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/head/master' }} + if: ${{ github.event_name == 'schedule' && github.ref == 'ref/head/main' }} with: repo_token: "${{ secrets.GITHUB_TOKEN }}" automatic_release_tag: ${{ env.today_date }}