From 6a1abfeaf917ba714aea964ee6ee0ddf1b01de36 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Thu, 16 Nov 2023 08:13:12 +0100 Subject: [PATCH] ci: automatically deploy wiki --- .gitea/workflows/server.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index a5acf09..862de2b 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -110,6 +110,19 @@ jobs: tags: forge.rainote.dev/${{ github.repository }}:latest-wiki 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: runs-on: ubuntu-latest steps: