Update docs

This commit is contained in:
Alejandro Gallo 2022-03-04 16:24:28 +01:00
parent c25d6b3c18
commit 436bd543ad
4 changed files with 7 additions and 11 deletions

View File

@ -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