Skip to content

Commit

Permalink
updates checkout action and stable branch release doc acrion
Browse files Browse the repository at this point in the history
Signed-off-by: cribeul <christian.perwass@de.bosch.com>
  • Loading branch information
cribeul committed Feb 2, 2024
1 parent 779ee03 commit 9c55ee5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate-docs-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/.

Expand Down

0 comments on commit 9c55ee5

Please sign in to comment.