From 67ddf35ab721ccf62fb6d3780b676992018e9e29 Mon Sep 17 00:00:00 2001 From: Joe Heck Date: Fri, 26 Jun 2026 14:35:09 -0700 Subject: [PATCH 1/2] nightly builds of docs into artifact cache and support for manual triggering if needed --- .github/workflows/build_documentation.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 9211aef96..778cda76a 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 }} From afc7019eeb7dc1fc05065143b817b542df5f0e5f Mon Sep 17 00:00:00 2001 From: Joe Heck Date: Fri, 26 Jun 2026 15:08:16 -0700 Subject: [PATCH 2/2] updating to constrain schedule to swiftlang/docs repo --- .github/workflows/build_documentation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 778cda76a..f546e304e 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -16,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