Skip to content

Replace broken link to altair docs (#344) #27

Replace broken link to altair docs (#344)

Replace broken link to altair docs (#344) #27

name: Rebuild and deploy dev version of book to gh-pages branch in dev/ folder
on:
push:
branches:
- main
paths:
- 'source/**'
- 'build_html.sh'
jobs:
deploy-main-preview:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: checkout
uses: actions/checkout@v2
with:
ref: 'main'
- name: Build the book
run: |
./build_html.sh
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: source/_build/html
keep_files: true
destination_dir: dev
# force_orphan: true # once peaceiris updates to v4, change this to true and keep_files: true for the PR / main branch deploy previews