Skip to content

Commit

Permalink
Merge pull request #65 from vorburger/patch-3
Browse files Browse the repository at this point in the history
Document skipping build for closed PR on README
  • Loading branch information
rossjrw authored Dec 22, 2023
2 parents e3af783 + 1574bfc commit b915013
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
uses: actions/checkout@v3

- name: Install and Build
if: github.event.action != 'closed' # You might want to skip the build if the PR has been closed
run: |
npm install
npm run build
Expand Down Expand Up @@ -288,6 +289,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: npm i && npm run build
if: github.event.action != 'closed'
- uses: rossjrw/pr-preview-action@v1
with:
source-dir: .
Expand Down

0 comments on commit b915013

Please sign in to comment.