Skip to content

Modify .asf.yaml to avoid email to dev@parquet ML (#75) #44

Modify .asf.yaml to avoid email to dev@parquet ML (#75)

Modify .asf.yaml to avoid email to dev@parquet ML (#75) #44

Workflow file for this run

name: Build and Deploy Parquet Site
on:
push:
branches: [ production ]
jobs:
Build_and_Deploy_Site:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.124.1'
extended: true
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Cache dependencies
uses: actions/cache@v4
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