File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,21 @@ jobs:
1919 # ===============================
2020 - name : Commit documentation changes
2121 run : |
22- sudo cd docs/_build/html
23- git init
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
2425 touch .nojekyll
25- git add -A
2626 git config --local user.email "[email protected] " 2727 git config --local user.name "GitHub Action"
28+ git add .
2829 git commit -m "Update documentation" -a || true
2930 # The above command will fail if no changes were present, so we ignore
3031 # that.
3132 - name : Push changes
3233 uses : ad-m/github-push-action@master
3334 with :
3435 branch : gh-pages
36+ directory : gh-pages
3537 force : true
3638 github_token : ${{ secrets.GITHUB_TOKEN }}
3739 # ===============================
You can’t perform that action at this time.
0 commit comments