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:
106106 run : testament all
107107
108108 - name : Build docs
109- if : matrix.branch == 'master'
109+ if : github.ref == 'refs/heads/ master'
110110 run : nimble docs
111111
112112 - name : Deploy docs
@@ -115,12 +115,13 @@ jobs:
115115 # and remove `github.ref == 'refs/heads/master'` below
116116 if : |
117117 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+
120120 uses : crazy-max/ghaction-github-pages@v4
121121 with :
122122 build_dir : htmlparser/htmldocs
123123 target_branch : gh-pages
124124 env :
125125 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
126126
127+
You can’t perform that action at this time.
0 commit comments