fix: debian rules duplicate rule #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Doxygen | |
on: | |
repository_dispatch: | |
push: | |
branches: | |
- master | |
- gh-pages | |
# In that case do the job 'make_and_deploy_doxygen' | |
jobs: | |
make_and_deploy_doxygen: | |
runs-on: ubuntu-latest | |
# which needs the following steps to be executed: | |
steps: | |
# 1. Checkout current branch of GitHub repository. | |
- name: Checkout current branch | |
uses: actions/checkout@v2 | |
# 2. Install doxygen and its auxiliary components. | |
- name: Install doxygen and latex components | |
run: sudo apt-get update; sudo apt-get install -y doxygen graphviz texlive-full | |
# 3. Create the doxygen pages. | |
- name: Create the doxygen | |
run: | | |
git clone https://github.com/robert-burger/libethercat.git | |
cd libethercat | |
make -f Makefile.doc doc/html BUILDCMD=doxygen | |
- name: Moving Files | |
run: | | |
mv ./libethercat/doc/html ./api | |
# Deploy to GitHub Pages | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
publish_dir: ./api |