We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6a0ebc commit 6218746Copy full SHA for 6218746
.github/workflows/build.yml
@@ -32,16 +32,16 @@ jobs:
32
- name: Print MyST version
33
run: myst --version
34
35
- - name: Build website as static HTML (for PR)
36
- if: github.event_name == 'pull_request'
+ - name: Build website as static HTML (for deploy)
+ if: github.event_name != 'pull_request'
37
run: |
38
echo "Building MyST website using BASE_URL=" $BASE_URL
39
myst build --html
40
env:
41
BASE_URL: /${{ github.event.repository.name }}
42
43
- - name: Build website as static HTML (for deploy)
44
- if: github.event_name != 'pull_request'
+ - name: Build website as static HTML (for PR)
+ if: github.event_name == 'pull_request'
45
46
echo "Building MyST website without BASE_URL"
47
0 commit comments