File tree Expand file tree Collapse file tree 3 files changed +21
-4
lines changed
Expand file tree Collapse file tree 3 files changed +21
-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 : Configure Git for Deployment
40+ run : |
41+ git config user.name github-actions[bot]
42+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
43+ - name : Deploy docs to /phomo
44+ run : |
45+ cd gh-pages
46+ mkdir -p phomo
47+ rm -rf phomo/* # Clear old files
48+ cp -r ../site/* phomo/
49+ git add phomo
50+ git commit -m "Deploy docs to /phomo"
51+ 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