Skip to content

Commit

Permalink
try ci docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Jan 5, 2024
1 parent 3490f79 commit c8eb253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# docker pull nimlang/nim:${{ matrix.nim }}
# docker run --rm -v `pwd`:/usr/src/app -w /usr/src/app nimlang/nim:${{ matrix.nim }} /bin/bash -c "git config --global --add safe.directory /usr/src/app; nimble install -y; nimble test"
- name: Build docs
if: matrix.nim == '2.0.0'
if: matrix.nim == '1.6.14'
run: |
docker pull nimlang/nim:${{ matrix.nim }}
docker run --rm -v `pwd`:/usr/src/app -w /usr/src/app nimlang/nim:${{ matrix.nim }} /bin/bash -c "git config --global --add safe.directory /usr/src/app; nimble install -y; nimble docs"
Expand All @@ -31,7 +31,7 @@ jobs:
# and remove `github.ref == 'refs/heads/master'` below
if: |
github.event_name == 'push' && github.ref == 'refs/heads/master' &&
matrix.nim == '2.0.0'
matrix.nim == '1.6.14'
uses: crazy-max/ghaction-github-pages@v1
with:
build_dir: docs
Expand Down

0 comments on commit c8eb253

Please sign in to comment.