File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 2020 run : |
2121 docker pull nimlang/nim:${{ matrix.nim }}
2222 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"
23+ docs :
24+ name : Docs
25+ runs-on : ubuntu-latest
26+ steps :
27+ - name : docs
28+ run : |
29+ cd nim-regex
30+ nimble docs
31+ - name : Deploy docs
32+ # to view docs on your own fork: push a gh-pages branch on your fork,
33+ # enable gh-pages in your fork
34+ # and remove `github.ref == 'refs/heads/master'` below
35+ if : |
36+ github.event_name == 'push' && github.ref == 'refs/heads/master'
37+ uses : crazy-max/ghaction-github-pages@v1
38+ with :
39+ build_dir : nim-regex/docs
40+ target_branch : gh-pages
41+ env :
42+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments