Use full path for filament target in fud configuration (#442) #130
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: Docs website | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
playground: | |
name: Docs website | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup mdBook | |
uses: peaceiris/actions-mdbook@v1 | |
with: | |
mdbook-version: 'latest' | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: mdbook-mermaid | |
- name: Add mermaid assets | |
run: | | |
mdbook-mermaid install doc | |
- name: mdbook | |
run: mdbook build doc/ | |
- name: Install and Run Zola | |
run: | | |
sudo snap install --edge zola | |
zola -r web/ build -o public/ | |
- name: Add docs to website | |
run: | | |
mv ./doc/book/ public/docs | |
- name: Create CNAME file | |
run: | | |
echo 'filamenthdl.com' > ./public/CNAME | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: public/ |