Skip to content

Commit 6218746

Browse files
committed
Fixes
1 parent d6a0ebc commit 6218746

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ jobs:
3232
- name: Print MyST version
3333
run: myst --version
3434

35-
- name: Build website as static HTML (for PR)
36-
if: github.event_name == 'pull_request'
35+
- name: Build website as static HTML (for deploy)
36+
if: github.event_name != 'pull_request'
3737
run: |
3838
echo "Building MyST website using BASE_URL=" $BASE_URL
3939
myst build --html
4040
env:
4141
BASE_URL: /${{ github.event.repository.name }}
4242

43-
- name: Build website as static HTML (for deploy)
44-
if: github.event_name != 'pull_request'
43+
- name: Build website as static HTML (for PR)
44+
if: github.event_name == 'pull_request'
4545
run: |
4646
echo "Building MyST website without BASE_URL"
4747
myst build --html

0 commit comments

Comments
 (0)