From 9c55ee5b28b8470933b8b1f8cb5d5d749e8d0fee Mon Sep 17 00:00:00 2001 From: cribeul Date: Fri, 2 Feb 2024 09:23:57 +0100 Subject: [PATCH] updates checkout action and stable branch release doc acrion Signed-off-by: cribeul --- .github/workflows/generate-docs-main.yml | 2 +- .github/workflows/generate-docs.yml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-docs-main.yml b/.github/workflows/generate-docs-main.yml index 20ede7e2..54e755a1 100644 --- a/.github/workflows/generate-docs-main.yml +++ b/.github/workflows/generate-docs-main.yml @@ -17,7 +17,7 @@ jobs: - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v4 diff --git a/.github/workflows/generate-docs.yml b/.github/workflows/generate-docs.yml index 6fbd03b3..bcdede49 100644 --- a/.github/workflows/generate-docs.yml +++ b/.github/workflows/generate-docs.yml @@ -8,13 +8,16 @@ jobs: Generate-Image-Render-Documentation: runs-on: ubuntu-latest if: github.ref == 'refs/heads/stable' + defaults: + run: + shell: bash steps: - run: echo "🎉 The job was triggered by a ${{ github.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v4 @@ -45,6 +48,9 @@ jobs: - name: Build Documentation run: cathy build docs -I + - name: Build Documentation (2nd pass) + run: cathy build docs + - name: Copy index referrer run: cp data/wf-gen-docs/index.html ./docs/build/.