.github/workflows/Test.yml: another try to fix documentation

This commit is contained in:
Gwenhael Goavec-Merou 2026-02-16 16:06:10 +01:00
parent d2f40f03c6
commit 55d0f21678
1 changed files with 9 additions and 4 deletions

View File

@ -7,9 +7,8 @@ on:
jobs:
doc:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
runs-on: ubuntu-latest
name: '📓 Docs'
@ -38,6 +37,12 @@ jobs:
publish_branch: gh-pages
keep_files: false
- name: 'Upload docs artifact'
uses: actions/upload-artifact@v4
with:
name: openFPGALoader-Documentation
path: doc/_build/html
lin-build:
strategy:
@ -187,7 +192,7 @@ jobs:
Release:
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || contains(github.ref, 'refs/tags/'))
needs: [ lin-test, win ]
needs: [ doc, lin-test, win ]
runs-on: ubuntu-latest
name: '📦 Release'
steps:
@ -209,4 +214,4 @@ jobs:
with:
token: ${{ github.token }}
tag: 'nightly'
files: artifact/**/*
files: artifact/**/*