Skip to content

Merge pull request #37 from wgtmac/sync_format_2.10.0 #17

Merge pull request #37 from wgtmac/sync_format_2.10.0

Merge pull request #37 from wgtmac/sync_format_2.10.0 #17

Workflow file for this run

name: Build and Deploy Parquet Site
on:
push:
branches: [ production ]
jobs:
Build_and_Deploy_Site:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public
publish_branch: asf-site
destination_dir: ./output
keep_files: true