diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 465dbe26..6a954efd 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -7,31 +7,6 @@ on: branches: [ master ] 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: name: Build Cross-Compiler & Toolchain runs-on: ubuntu-latest diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml new file mode 100644 index 00000000..18601e31 --- /dev/null +++ b/.github/workflows/website.yml @@ -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