mirror of
https://github.com/sysprog21/lkmpg.git
synced 2024-11-29 04:10:24 +08:00
25 lines
475 B
YAML
25 lines
475 B
YAML
name: deploy-github-page
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container: twtug/lkmpg
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Build
|
|
run: |
|
|
make html
|
|
- name: Deploy to gh-pages branch
|
|
uses: peaceiris/actions-gh-pages@v3.9.3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./html
|
|
publish_branch: gh-pages
|