File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -19,20 +19,22 @@ jobs:
1919 # ===============================
2020 - name : Commit documentation changes
2121 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
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+ cd docs/_build/html
26+ git init
2527 touch .nojekyll
28+ git add -A
2629 git config --local user.email "[email protected] " 2730 git config --local user.name "GitHub Action"
28- git add .
2931 git commit -m "Update documentation" -a || true
3032 # The above command will fail if no changes were present, so we ignore
3133 # that.
3234 - name : Push changes
3335 uses : ad-m/github-push-action@master
3436 with :
3537 branch : gh-pages
36- directory : gh-pages
38+ force : true
3739 github_token : ${{ secrets.GITHUB_TOKEN }}
3840 # ===============================
You can’t perform that action at this time.
0 commit comments