File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ jobs:
106
106
run : testament all
107
107
108
108
- name : Build docs
109
- if : matrix.branch == 'master'
109
+ if : github.ref == 'refs/heads/ master'
110
110
run : nimble docs
111
111
112
112
- name : Deploy docs
@@ -115,12 +115,13 @@ jobs:
115
115
# and remove `github.ref == 'refs/heads/master'` below
116
116
if : |
117
117
github.event_name == 'push' && github.ref == 'refs/heads/master' &&
118
- matrix.target.os == 'linux' && matrix.target.cpu == 'amd64' &&
119
- matrix.branch == 'master'
118
+ matrix.target.os == 'linux' && matrix.target.cpu == 'amd64'
119
+
120
120
uses : crazy-max/ghaction-github-pages@v4
121
121
with :
122
122
build_dir : htmlparser/htmldocs
123
123
target_branch : gh-pages
124
124
env :
125
125
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
126
126
127
+
You can’t perform that action at this time.
0 commit comments