mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
docs: Only release docs for specific versions.
This commit is contained in:
parent
8343dad7f1
commit
93c666ca25
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -4,6 +4,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
@ -116,13 +118,13 @@ jobs:
|
|||||||
path: docs
|
path: docs
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
gh-pages:
|
publish-docs:
|
||||||
needs:
|
needs:
|
||||||
- docs
|
- docs
|
||||||
- lint
|
- lint
|
||||||
- test
|
- test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref == 'refs/heads/master'
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
@ -2,5 +2,6 @@
|
|||||||
"name": "Community Solid Server",
|
"name": "Community Solid Server",
|
||||||
"hideGenerator": true,
|
"hideGenerator": true,
|
||||||
"entryPoints": "src",
|
"entryPoints": "src",
|
||||||
|
"includeVersion": true,
|
||||||
"out": "docs"
|
"out": "docs"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user