From efcdacda980e44f43f436149827642907eba0a4b Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Tue, 1 Sep 2020 22:33:05 -0700 Subject: [PATCH] Switch generate-docs action to daily schedule --- .github/workflows/generate-docs.yml | 23 +++++++++++------------ CHANGES | 4 ++++ VERSION | 2 +- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.github/workflows/generate-docs.yml b/.github/workflows/generate-docs.yml index b72d52d2a0..020c542715 100644 --- a/.github/workflows/generate-docs.yml +++ b/.github/workflows/generate-docs.yml @@ -2,7 +2,7 @@ name: Generate Documentation on: schedule: - - cron: '*/5 * * * *' + - cron: '0 0 * * *' jobs: generate: @@ -23,17 +23,6 @@ jobs: submodule update --init --force --recursive --depth=1 ( cd doc && git checkout master ) - - name: Update zeek-docs Submodule - run: | - echo "*** Update zeek/doc Submodule ***" - git config --global user.name zeek-bot - git config --global user.email info@zeek.org - git remote add auth "https://zeek-bot:${{ secrets.ZEEK_BOT_TOKEN }}@github.com/zeek/zeek" - git add doc - git status - git commit -m 'Update doc submodule [nomail] [skip ci]' && git push auth master || /bin/true - exit 1 - - name: Fetch Dependencies run: | sudo apt-get update @@ -93,3 +82,13 @@ jobs: git status git commit -m "Generate docs" && git push || /bin/true cd .. + + - name: Update zeek-docs Submodule + run: | + echo "*** Update zeek/doc Submodule ***" + git config --global user.name zeek-bot + git config --global user.email info@zeek.org + git remote add auth "https://zeek-bot:${{ secrets.ZEEK_BOT_TOKEN }}@github.com/zeek/zeek" + git add doc + git status + git commit -m 'Update doc submodule [nomail] [skip ci]' && git push auth master || /bin/true diff --git a/CHANGES b/CHANGES index d35a78380f..fab6b5e658 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,8 @@ +3.3.0-dev.236 | 2020-09-01 22:33:05 -0700 + + * Fix/finalize the generate-docs Github Action (Jon Siwek, Corelight) + 3.3.0-dev.230 | 2020-09-01 20:32:01 -0700 * Fix generate-docs action to not fail when there's no changes (Jon Siwek, Corelight) diff --git a/VERSION b/VERSION index 4bd907798d..d47ebf1ac7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.3.0-dev.230 +3.3.0-dev.236