diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 9211aef96..f546e304e 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -5,6 +5,9 @@ on: types: [opened, reopened, synchronize] push: branches: [main] + schedule: + - cron: '0 2 * * *' + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -13,6 +16,7 @@ concurrency: jobs: build-docs: name: Build combined documentation + if: github.event_name != 'schedule' || github.repository == 'swiftlang/docs' runs-on: ubuntu-latest container: # image: swiftlang/swift:nightly-main-jammy