mirror of
https://github.com/nishiowo/nishbox
synced 2025-04-21 20:24:39 +00:00
add action
This commit is contained in:
parent
ac28ac9154
commit
4c6b8e1c0b
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -24,6 +24,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: "true"
|
||||
- name: Install packages
|
||||
run: sudo apt-get install mingw-w64
|
||||
- name: Run build script
|
||||
|
28
.github/workflows/doxygen.md
vendored
Normal file
28
.github/workflows/doxygen.md
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: "Publish Doxygen page"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Install packages
|
||||
run: sudo apt-get install doxygen
|
||||
- name: Create directory
|
||||
run: mkdir -p build
|
||||
- name: Build engine document
|
||||
run: cd engine && doxygen && mv doc/html build/engine
|
||||
- name: Deploy
|
||||
uses: DamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: gh-pages
|
||||
folder: build
|
Loading…
x
Reference in New Issue
Block a user