From 4e8d5e8a06429b23e0aa547e425fccf47a8c0aa1 Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Wed, 18 Nov 2020 20:20:00 +0100 Subject: [PATCH] Always generate the documentation, so it is always in sync with the master branch --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 823232aa..ecc50c75 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,8 +43,7 @@ jobs: env: PLATFORMIO_CI_SRC: ${{ matrix.example }} PLATFORMIO_BUILD_FLAGS: -DWIICAMERA -DDEBUG_USB_HOST -Wall -Werror - deploy: - needs: [build] + doc: runs-on: ubuntu-latest if: github.ref == 'refs/heads/master' steps: @@ -59,7 +58,7 @@ jobs: sed -i 's/@YuuichiAkagawa/\\@YuuichiAkagawa/' README.md doxygen doc/Doxyfile touch doc/html/.nojekyll - - name: Deploy + - name: Deploy documentation uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }}