File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ jobs:
155
155
# https://github.com/marketplace/actions/github-pages-action
156
156
# The step is only used to build docs while pushing a PR to "master"
157
157
- name : Deploy docs
158
- if : env.GH_EVENT_PUSH_UPSTREAM
158
+ if : env.GH_EVENT_PUSH_UPSTREAM == 'true'
159
159
uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
160
160
with :
161
161
github_token : ${{ secrets.GITHUB_TOKEN }}
@@ -168,7 +168,7 @@ jobs:
168
168
169
169
# The step is only used to build docs while pushing to PR branch
170
170
- name : Publish pull-request docs
171
- if : env.GH_EVENT_OPEN_PR_UPSTREAM
171
+ if : env.GH_EVENT_OPEN_PR_UPSTREAM == 'true'
172
172
uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
173
173
with :
174
174
github_token : ${{ secrets.GITHUB_TOKEN }}
@@ -183,7 +183,7 @@ jobs:
183
183
184
184
# The step is only used to build docs while pushing to PR branch
185
185
- name : Comment with URL to published pull-request docs
186
- if : env.GH_EVENT_OPEN_PR_UPSTREAM
186
+ if : env.GH_EVENT_OPEN_PR_UPSTREAM == 'true'
187
187
env :
188
188
PR_NUM : ${{ github.event.number }}
189
189
uses : mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2
You can’t perform that action at this time.
0 commit comments