.github/workflows/Test.yml: another try to fix documentation
This commit is contained in:
parent
d2f40f03c6
commit
55d0f21678
|
|
@ -7,9 +7,8 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
|
||||||
doc:
|
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
|
runs-on: ubuntu-latest
|
||||||
name: '📓 Docs'
|
name: '📓 Docs'
|
||||||
|
|
||||||
|
|
@ -38,6 +37,12 @@ jobs:
|
||||||
publish_branch: gh-pages
|
publish_branch: gh-pages
|
||||||
keep_files: false
|
keep_files: false
|
||||||
|
|
||||||
|
- name: 'Upload docs artifact'
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: openFPGALoader-Documentation
|
||||||
|
path: doc/_build/html
|
||||||
|
|
||||||
|
|
||||||
lin-build:
|
lin-build:
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -187,7 +192,7 @@ jobs:
|
||||||
|
|
||||||
Release:
|
Release:
|
||||||
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || contains(github.ref, 'refs/tags/'))
|
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
|
runs-on: ubuntu-latest
|
||||||
name: '📦 Release'
|
name: '📦 Release'
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -209,4 +214,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
tag: 'nightly'
|
tag: 'nightly'
|
||||||
files: artifact/**/*
|
files: artifact/**/*
|
||||||
Loading…
Reference in New Issue