add datavis info #30
This file contains hidden or 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 Quarto Book | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install Quarto | |
| run: | | |
| wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.3.309/quarto-1.3.309-linux-amd64.deb | |
| sudo dpkg -i quarto-1.3.309-linux-amd64.deb | |
| - name: Install TeX (TinyTeX) | |
| run: quarto install tinytex | |
| - name: Render Quarto Book | |
| run: quarto render | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: _book |