diff --git a/.github/workflows/auto-doxygen.yml b/.github/workflows/auto-doxygen.yml index 4fb38bef3..92a2c3863 100644 --- a/.github/workflows/auto-doxygen.yml +++ b/.github/workflows/auto-doxygen.yml @@ -16,6 +16,7 @@ jobs: permissions: contents: write runs-on: ubuntu-24.04 + if: github.ref == 'refs/heads/master' steps: - uses: actions/checkout@v4 with: @@ -35,8 +36,6 @@ jobs: git add .gitattributes ${{ github.workspace }}/doc/QElectroTech.qch -f git commit -m "Push updated QCH file" git push - - name: Run doxygen - run: doxygen Doxyfile - uses: actions/upload-pages-artifact@v3 with: path: ${{ github.workspace }}/doc/html/