name: Deploy page on: workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Setup Quarto uses: quarto-dev/quarto-actions/setup@v2 - name: Build run: quarto render - name: Deploy to GitHub Pages if: ${{ github.ref == 'refs/heads/main' }} uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./_book