mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-27 15:04:31 +00:00
34 lines
763 B
YAML
34 lines
763 B
YAML
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
|