ci: automatically deploy wiki
Some checks failed
Build, Package and Push Images / preprocess (push) Successful in 3s
Build, Package and Push Images / docs (push) Successful in 23s
Build, Package and Push Images / build (push) Successful in 27s
Build, Package and Push Images / sonarqube (push) Has been skipped
Build, Package and Push Images / sbom-scan (push) Successful in 36s
Build, Package and Push Images / build-docs-container (push) Successful in 51s
Build, Package and Push Images / deploy-wiki (push) Failing after 5s
Build, Package and Push Images / container-build (push) Successful in 2m10s
Build, Package and Push Images / container-sbom-scan (push) Successful in 39s

This commit is contained in:
Timothy Schenk 2023-11-16 08:13:12 +01:00
parent c6552c7c5a
commit 6a1abfeaf9

View file

@ -110,6 +110,19 @@ jobs:
tags: forge.rainote.dev/${{ github.repository }}:latest-wiki tags: forge.rainote.dev/${{ github.repository }}:latest-wiki
platforms: linux/amd64, linux/arm64 platforms: linux/amd64, linux/arm64
deploy-wiki:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
needs: [ build-docs-container, docs, preprocess ]
steps:
- name: Deploy Image to CapRrover
uses: caprover/deploy-from-github@v1.1.2
with:
server: "${{ secrets.CAPROVER_SERVER }}"
app: "${{ secrets.WIKI_APP_NAME }}"
token: "${{ secrets.WIKI_APP_TOKEN }}"
image: forge.rainote.dev/${{ github.repository }}:${{ needs.preprocess.outputs.sanitized_branch_name }}-wiki
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: