Skip to content

Commit 0959860

Browse files
authored
fixes docs
1 parent afe547e commit 0959860

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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+

0 commit comments

Comments
 (0)