diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b77ee3..44361e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,7 +38,7 @@ jobs: path: poster.pdf - name: Commit poster PDF - if: github.event.pull_request.merged == true + if: ${{ github.event.pull_request.merged }} uses: EndBug/add-and-commit@v9 with: add: 'poster.pdf' @@ -46,7 +46,7 @@ jobs: message: 'Add poster.pdf at ${{ github.sha }}' - name: Deploy html to gh-pages - if: github.event.pull_request.merged == true + if: ${{ github.event.pull_request.merged }} uses: JamesIves/github-pages-deploy-action@4.1.5 with: branch: gh-pages