File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed
Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 3030 uses : abatilo/actions-poetry@v2
3131 - name : Install doc dependencies
3232 run : poetry install --with docs
33- - name : Deploy docs
34- run : poetry run mkdocs gh-deploy --force
33+ - name : Build docs
34+ run : poetry run mkdocs build
35+ - name : Clone gh-pages branch
36+ run : |
37+ git clone --branch gh-pages https://github.com/${{ github.repository }} gh-pages
38+ cd gh-pages
39+ - name : Deploy docs to /phomo
40+ run : |
41+ cd gh-pages
42+ git config user.name github-actions[bot]
43+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
44+ mkdir -p phomo
45+ rm -rf phomo/* # Clear old files
46+ cp -r ../site/* phomo/
47+ git add phomo
48+ git commit -m "Deploy docs to /phomo"
49+ git push origin gh-pages
Original file line number Diff line number Diff line change 1- phomo- docs.loiccoyle.com
1+ docs.loiccoyle.com
Original file line number Diff line number Diff line change 11site_name : phomo
22site_description : Python package and CLI utility to create photo mosaics.
33site_author : Loic Coyle
4- site_url : https://phomo- docs.loiccoyle.com/
4+ site_url : https://docs.loiccoyle.com/
55
66repo_name : phomo
77repo_url : https://github.com/loiccoyle/phomo
You can’t perform that action at this time.
0 commit comments