ci: let's try manual
Some checks failed
Build, Package and Push Images / docs (push) Failing after 1s
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 24s
Build, Package and Push Images / sbom-scan (push) Successful in 31s
Build, Package and Push Images / container-build (push) Successful in 1m10s
Build, Package and Push Images / container-sbom-scan (push) Successful in 34s
Build, Package and Push Images / sonarqube (push) Successful in 3m24s

This commit is contained in:
Timothy Schenk 2023-11-15 14:17:46 +01:00
parent 12bb44c7dc
commit cb121b692a

View file

@ -4,7 +4,7 @@ on: [ push ]
env: env:
# Name of module and id separated by a slash # Name of module and id separated by a slash
INSTANCE: Wiki/wiki INSTANCE: Continuity/wiki
# Replace HI with the ID of the instance in capital letters # Replace HI with the ID of the instance in capital letters
ARTIFACT: webHelpWIKI2-all.zip ARTIFACT: webHelpWIKI2-all.zip
# Writerside docker image version # Writerside docker image version
@ -38,16 +38,18 @@ jobs:
docs: docs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest container: registry.jetbrains.team/p/writerside/builder/writerside-builder:$DOCKER_VERSION
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: https://github.com/actions/checkout@v3 uses: https://github.com/actions/checkout@v3
- name: Build Writerside docs using Docker - name: Build docs
uses: https://github.com/JetBrains/writerside-github-action@v4 run: |
with: set -e
instance: ${{ env.INSTANCE }} export DISPLAY=:99
artifact: ${{ env.ARTIFACT }} Xvfb :99 &
docker-version: ${{ env.DOCKER_VERSION }} /opt/builder/bin/idea.sh helpbuilderinspect -source-dir . -product $INSTANCE -output-dir public/ || true
echo "Test existing of $ARTIFACT artifact"
test -e public/$ARTIFACT
- name: rename artifact - name: rename artifact
run: | run: |
mv artifacts/${{ env.ARTIFACT }} artifacts/wiki.zip mv artifacts/${{ env.ARTIFACT }} artifacts/wiki.zip