Skip to content

Create orphan commit for website deployment #213

Create orphan commit for website deployment

Create orphan commit for website deployment #213

Workflow file for this run

name: Deploy ASF site
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 0.110.0
extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: asf-site
publish_dir: content
destination_dir: content
force_orphan: true