mirror of
https://github.com/katanemo/plano.git
synced 2026-05-10 16:22:42 +02:00
fixing docs so that GH pages picks up the right CNAME for DNS (#135)
* fixing docs so that GH pages picks up the right CNAME for DNS * updating workflow to pick CNAME * making sure to correctly set permissions on the build/html directory * fixing GH actions issues with CNAME * updated docker build command to run as local user * fixed the CNAME issue and udpated GH actions --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-261.local>
This commit is contained in:
parent
96686dc606
commit
976b2eaae0
3 changed files with 7 additions and 2 deletions
3
.github/workflows/static.yml
vendored
3
.github/workflows/static.yml
vendored
|
|
@ -23,6 +23,9 @@ jobs:
|
||||||
chmod +x build_docs.sh
|
chmod +x build_docs.sh
|
||||||
./build_docs.sh
|
./build_docs.sh
|
||||||
|
|
||||||
|
- name: Copy CNAME to HTML Build Directory
|
||||||
|
run: cp docs/CNAME docs/build/html/CNAME
|
||||||
|
|
||||||
# Deploy the docs to GitHub Pages
|
# Deploy the docs to GitHub Pages
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
archgw.com
|
docs.archgw.com
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,4 @@
|
||||||
docker build -f Dockerfile . -t sphinx
|
docker build -f Dockerfile . -t sphinx
|
||||||
docker run --rm -v $(pwd):/docs sphinx make html
|
docker run --user $(id -u):$(id -g) --rm -v $(pwd):/docs sphinx make clean
|
||||||
|
docker run --user $(id -u):$(id -g) --rm -v $(pwd):/docs sphinx make html
|
||||||
|
chmod -R 777 build/html
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue