Update docs to match h3-py v4.x (#938) #194
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-website | |
on: | |
push: | |
branches: | |
- master | |
# This job installs dependencies, builds the website, and pushes it to `gh-pages` | |
jobs: | |
deploy-website: | |
name: Deploy website | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version: '16' | |
- name: Website Build | |
working-directory: website | |
env: | |
MapboxAccessToken: ${{ secrets.MapboxAccessToken }} | |
run: | | |
yarn | |
yarn build | |
# Deploy the book's HTML to gh-pages branch | |
- name: GitHub Pages action | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: website/build | |
cname: h3geo.org |