Skip to content

update actions/upload-artifact in cifuzz (#907) #177

update actions/upload-artifact in cifuzz (#907)

update actions/upload-artifact in cifuzz (#907) #177

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