File tree Expand file tree Collapse file tree 1 file changed +5
-21
lines changed
Expand file tree Collapse file tree 1 file changed +5
-21
lines changed Original file line number Diff line number Diff line change 1616 pre-build-command : " pip install -r dev.requirements.txt"
1717 docs-folder : " docs/"
1818 # Publish built docs to gh-pages branch.
19- # ===============================
20- - name : Commit documentation changes
21- run : |
22- git clone https://github.com/C-Achard/cellseg-annotator-test.git --branch gh-pages --single-branch gh-pages
23- cp -r docs/_build/html/* gh-pages/
24- cd gh-pages
25- touch .nojekyll
26- git config --local user.email "[email protected] " 27- git config --local user.name "GitHub Action"
28- git add .
29- git commit -m "Update documentation" -a || true
30- # The above command will fail if no changes were present, so we ignore
31- # that.
32- - name : Push changes
33- uses : ad-m/github-push-action@master
34- with :
35- branch : gh-pages
36- directory : gh-pages
37- force : true
38- github_token : ${{ secrets.GITHUB_TOKEN }}
39- # ===============================
19+ - name : GitHub Pages action
20+ 21+ with :
22+ github_token : ${{ secrets.GITHUB_TOKEN }}
23+ publish_dir : ./_build/html
You can’t perform that action at this time.
0 commit comments