Skip to content

Commit

Permalink
trigger the build on push the tex file
Browse files Browse the repository at this point in the history
  • Loading branch information
shizunge committed Nov 5, 2023
1 parent 86e59cf commit 1d190ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d190ae

Please sign in to comment.