Skip to content

Commit

Permalink
Attempt to execute GHA steps on merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
arokem committed Jun 12, 2024
1 parent e7b937b commit d282ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ 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'
author_name: 'GitHub Actions'
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
Expand Down

0 comments on commit d282ddb

Please sign in to comment.