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:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- v*
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
@ -116,13 +118,13 @@ jobs:
|
||||
path: docs
|
||||
retention-days: 1
|
||||
|
||||
gh-pages:
|
||||
publish-docs:
|
||||
needs:
|
||||
- docs
|
||||
- lint
|
||||
- test
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
steps:
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
|
@ -2,5 +2,6 @@
|
||||
"name": "Community Solid Server",
|
||||
"hideGenerator": true,
|
||||
"entryPoints": "src",
|
||||
"includeVersion": true,
|
||||
"out": "docs"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user