From 1e037bd156d71f2e12a07c77dfb750c83b543034 Mon Sep 17 00:00:00 2001 From: Shizun Ge Date: Sun, 5 Nov 2023 00:16:24 -0700 Subject: [PATCH] trigger the build on push the tex file --- .github/workflows/build-pdf.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-pdf.yml b/.github/workflows/build-pdf.yml index 88f8572..d0231d2 100644 --- a/.github/workflows/build-pdf.yml +++ b/.github/workflows/build-pdf.yml @@ -5,15 +5,14 @@ name: Build PDF # events but only for the master branch on: push: - branches: - - master + paths: + - shizun_ge_resume.tex workflow_dispatch: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: - if: "contains(github.event.head_commit.message, '[build pdf]')" # The type of runner that the job will run on runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job