lkmpg/.github/workflows/deploy_github_page.yaml
2022-04-28 19:19:29 +08:00

25 lines
485 B
YAML

name: build-deploy-github-page
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: twtug/lkmpg
steps:
- uses: actions/checkout@v3.0.2
- name: Build
run: |
make html
- name: Deploy to gh-pages branch
uses: peaceiris/actions-gh-pages@v3.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./html
publish_branch: gh-pages