1 basic plotting example with axis titles and 3 more ones using scrip… #407
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-docs: | |
concurrency: deployment | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout VSL | |
uses: actions/checkout@v3 | |
with: | |
path: vsl | |
- name: Setup V | |
uses: vlang/setup-v@v1 | |
with: | |
check-latest: true | |
- name: V doctor | |
run: v doctor | |
- name: Build docs | |
run: | | |
pushd vsl | |
rm -f README.md | |
mv static/DOCS.md README.md | |
v doc -readme -m -f html . | |
popd | |
- name: Deploy to gh-pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./vsl/_docs/ |