diff --git a/.github/workflows/auto-publish.yml b/.github/workflows/auto-publish.yml index 55f0e4f5f8..067d79ea57 100644 --- a/.github/workflows/auto-publish.yml +++ b/.github/workflows/auto-publish.yml @@ -2,7 +2,7 @@ name: auto-publish run-name: Automatically publish documentation on: schedule: - # Run at 2:00 AM UTC on Wednesday and Friday + # Run at 2:00 AM UTC on Wednesday and Friday. - cron: '0 2 * * WED,FRI' jobs: auto-publish: @@ -15,7 +15,7 @@ jobs: working-directory: ./ steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Check out main diff --git a/.github/workflows/autogen-docs.yml b/.github/workflows/autogen-docs.yml index 648f7309c5..527bd132d7 100644 --- a/.github/workflows/autogen-docs.yml +++ b/.github/workflows/autogen-docs.yml @@ -2,6 +2,7 @@ name: autogen-docs run-name: Automatically run GenerateDocs on: schedule: + # Run at 10:45 AM UTC on Tuesday and Thursday. - cron: '45 10 * * TUE' - cron: '45 10 * * THU' workflow_dispatch: @@ -16,15 +17,16 @@ jobs: working-directory: ./generate-docs steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Make the script file executable run: | echo "Making script file executable" chmod +x ./GenerateDocs.sh - name: Set up node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: '18' + # Use an Active LTS version of Node.js. + node-version: 'lts/*' - name: Run GenerateDocs script run: | echo "Generating docs"