mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
ci: separate github pages deploy workflow
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
b4cc1d9e66
commit
8ef7a25728
25
.github/workflows/makefile.yml
vendored
25
.github/workflows/makefile.yml
vendored
@ -7,31 +7,6 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploydoc:
|
|
||||||
name: Deploy Documentation to GitHub Pages
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
- name: Install Doxygen
|
|
||||||
run: |
|
|
||||||
sudo apt update
|
|
||||||
sudo apt --no-install-recommends -y install doxygen make
|
|
||||||
|
|
||||||
- name: Generate Documentation
|
|
||||||
run: make doxygen
|
|
||||||
|
|
||||||
- name: Copy GitHub Pages Website
|
|
||||||
run: cp -r tools/website/* doxygen-doc/
|
|
||||||
|
|
||||||
- name: Deploy documentation
|
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
|
||||||
with:
|
|
||||||
folder: doxygen-doc
|
|
||||||
|
|
||||||
buildcompiler:
|
buildcompiler:
|
||||||
name: Build Cross-Compiler & Toolchain
|
name: Build Cross-Compiler & Toolchain
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
33
.github/workflows/website.yml
vendored
Normal file
33
.github/workflows/website.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
name: Deploy Website
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
paths:
|
||||||
|
- tools/website/**
|
||||||
|
- Kernel/include/interface/**
|
||||||
|
- Doxyfile
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploydoc:
|
||||||
|
name: Deploy Website to GitHub Pages
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code 🛎️
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install Doxygen 📦
|
||||||
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt --no-install-recommends -y install doxygen make
|
||||||
|
|
||||||
|
- name: Generate Documentation 📚
|
||||||
|
run: make doxygen
|
||||||
|
|
||||||
|
- name: Copy GitHub Pages Website 📁
|
||||||
|
run: cp -r tools/website/* doxygen-doc/
|
||||||
|
|
||||||
|
- name: Deploy documentation 🚀
|
||||||
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
|
with:
|
||||||
|
folder: doxygen-doc
|
Loading…
x
Reference in New Issue
Block a user