From: Nick Porter Date: Fri, 28 Feb 2025 16:08:50 +0000 (+0000) Subject: Add scheduled call to Documenation CI action X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a5bee9503ce2c073a96d3157f450455853f4052;p=thirdparty%2Ffreeradius-server.git Add scheduled call to Documenation CI action Since most commits to `master` are merges from developer's branches, the job was never running in `master` and so docs were not getting published. --- diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index c1815139d4c..2a89875a35a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -19,11 +19,13 @@ on: - 'man/**' - 'raddb/**' - 'share/**' + schedule: + - cron: '1 20 * * *' jobs: build-docs: runs-on: ubuntu-latest - + if: github.repository_owner == 'FreeRADIUS' || github.event_name != 'schedule' strategy: fail-fast: true @@ -75,7 +77,7 @@ jobs: # Actual deployment to GitHub Pages is only on pushes to the head of the master branch deploy-doxygen-docs: - if: ( github.repository_owner == 'FreeRADIUS' ) && ( github.ref == 'refs/heads/master' ) && ( github.event_name == 'push' ) + if: ( github.repository_owner == 'FreeRADIUS' ) && ( github.ref == 'refs/heads/master' ) && (( github.event_name == 'push' ) || ( github.event_name == 'schedule' )) needs: - build-docs @@ -122,7 +124,7 @@ jobs: uses: actions/deploy-pages@v4 deploy-antora-docs: - if: ( github.repository_owner == 'FreeRADIUS' ) && ( github.ref == 'refs/heads/master' ) && ( github.event_name == 'push' ) + if: ( github.repository_owner == 'FreeRADIUS' ) && ( github.ref == 'refs/heads/master' ) && (( github.event_name == 'push' ) || ( github.event_name == 'schedule' )) needs: - build-docs