Skip to content

Merge pull request #125 from NCAR/Update_people #337

Merge pull request #125 from NCAR/Update_people

Merge pull request #125 from NCAR/Update_people #337

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
if: github.repository == 'NCAR/vast'
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.91.2'
extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: vast.ucar.edu