Update docs
This commit is contained in:
parent
c25d6b3c18
commit
436bd543ad
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@ -50,32 +50,28 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
|
||||||
- name: create doc
|
- name: Create index
|
||||||
run: |
|
run: |
|
||||||
mkdir -p doc
|
|
||||||
cd doc
|
|
||||||
nix-shell --run 'make all'
|
|
||||||
echo hello world > index.html
|
echo hello world > index.html
|
||||||
|
|
||||||
- name: create atrip.html
|
- name: Create atrip.html
|
||||||
run: |
|
run: |
|
||||||
nix-shell --run 'make html'
|
nix-shell --run 'make html'
|
||||||
mv atrip.html doc/
|
mv atrip.html docs/
|
||||||
|
|
||||||
- name: create doxygen
|
- name: Doxygen
|
||||||
run: |
|
run: |
|
||||||
nix-shell --run 'make -C ./doc all'
|
cd docs
|
||||||
cd doc
|
nix-shell --run 'make all'
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.0
|
uses: JamesIves/github-pages-deploy-action@4.1.0
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: ./doc
|
folder: ./docs
|
||||||
|
|
||||||
#- name: Upload dist
|
#- name: Upload dist
|
||||||
#uses: actions/upload-artifacts@v1
|
#uses: actions/upload-artifacts@v1
|
||||||
#with:
|
#with:
|
||||||
#name: lib
|
#name: lib
|
||||||
#path: ./lib
|
#path: ./lib
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user