diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 00000000..22892444 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,34 @@ +name: Build OS + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + deploydoc: + name: Deploy Documentation to GitHub Pages + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Update System + run: sudo apt update + + - name: Install Doxygen + run: sudo apt -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 diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 8fa13955..c0dd93ee 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -7,32 +7,6 @@ on: branches: [ master ] jobs: - deploydoc: - name: Deploy Documentation to GitHub Pages - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - with: - submodules: recursive - - - name: Update System - run: sudo apt update - - - name: Install Doxygen - run: sudo apt -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