Skip to content

Commit 7102b84

Browse files
proppycopybara-github
authored andcommitted
github_workflows/doc: publish doc continuously
- enable on push - enable on pull_request (this will skip deploy per: https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#creating-a-custom-github-actions-workflow-to-publish-your-site) follow-up to google#1463 PiperOrigin-RevId: 696733559
1 parent 7136fbd commit 7102b84

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

‎.github/workflows/build-mkdocs-commit-html.yml‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
name: Nighly Build MkDocs And Commit HTML
22

33
on:
4-
schedule:
5-
# Nightly at midnight PDT -- uses UTC, so 7am.
6-
- cron: '0 7 * * *'
4+
# Run on every commit pushed to main.
5+
push:
6+
branches:
7+
- main
8+
# This will skip deploy per step 5 of https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#creating-a-custom-github-actions-workflow-to-publish-your-site).
9+
pull_request:
10+
branches:
11+
- main
712
# This lets us trigger manually from the UI.
813
workflow_dispatch:
914

0 commit comments

Comments
 (0)