ci: add docs building job
Some checks failed
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 37s
Build, Package and Push Images / docs (push) Failing after 42s
Build, Package and Push Images / sbom-scan (push) Successful in 36s
Build, Package and Push Images / sonarqube (push) Successful in 1m26s
Build, Package and Push Images / container-build (push) Successful in 1m28s
Build, Package and Push Images / container-sbom-scan (push) Successful in 37s
Some checks failed
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 37s
Build, Package and Push Images / docs (push) Failing after 42s
Build, Package and Push Images / sbom-scan (push) Successful in 36s
Build, Package and Push Images / sonarqube (push) Successful in 1m26s
Build, Package and Push Images / container-build (push) Successful in 1m28s
Build, Package and Push Images / container-sbom-scan (push) Successful in 37s
This commit is contained in:
parent
df8b3b7108
commit
1d271081a6
1 changed files with 35 additions and 0 deletions
|
@ -2,6 +2,15 @@
|
||||||
run-name: ${{ gitea.actor }} is building the Server application
|
run-name: ${{ gitea.actor }} is building the Server application
|
||||||
on: [ push ]
|
on: [ push ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
# Name of module and id separated by a slash
|
||||||
|
INSTANCE: Wiki/wiki
|
||||||
|
# Replace HI with the ID of the instance in capital letters
|
||||||
|
ARTIFACT: wiki.zip
|
||||||
|
# Writerside docker image version
|
||||||
|
DOCKER_VERSION: 232.10165.1
|
||||||
|
ALGOLIA_ARTIFACT: algolia-indexes-wiki.zip
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
preprocess:
|
preprocess:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -27,6 +36,32 @@ jobs:
|
||||||
dotnet build Server -c Release
|
dotnet build Server -c Release
|
||||||
# dotnet test Server.Tests -c Release
|
# dotnet test Server.Tests -c Release
|
||||||
|
|
||||||
|
docs:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: registry.jetbrains.team/p/writerside/builder/writerside-builder:232.10165.1
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Build Writerside docs using Docker
|
||||||
|
uses: https://github.com/JetBrains/writerside-github-action@v4
|
||||||
|
with:
|
||||||
|
instance: ${{ env.INSTANCE }}
|
||||||
|
artifact: ${{ env.ARTIFACT }}
|
||||||
|
docker-version: ${{ env.DOCKER_VERSION }}
|
||||||
|
- name: Upload documentation
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: docs
|
||||||
|
path: |
|
||||||
|
artifacts/${{ env.ARTIFACT }}
|
||||||
|
artifacts/report.json
|
||||||
|
retention-days: 14
|
||||||
|
- name: Upload algolia-indexes
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: algolia-indexes
|
||||||
|
path: artifacts/${{ env.ALGOLIA_ARTIFACT }}
|
||||||
|
retention-days: 14
|
||||||
|
|
||||||
sonarqube:
|
sonarqube:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue