From a11675df456073adfdca15485494599fadfb554b Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Thu, 16 Nov 2023 08:44:03 +0100 Subject: [PATCH] ci: manual deploy --- .gitea/workflows/server.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index b974793..018ea5a 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -116,12 +116,8 @@ jobs: needs: [ build-docs-container, docs, preprocess ] steps: - name: Deploy Image to CapRrover - uses: https://github.com/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 + run: | + docker run caprover/cli-caprover:2.2.3 caprover deploy --caproverUrl ${{ secrets.CAPROVER_SERVER }} --appToken ${{ secrets.WIKI_APP_TOKEN }} --imageName forge.rainote.dev/${{ github.repository }}:${{ needs.preprocess.outputs.sanitized_branch_name }}-wiki -a ${{ secrets.WIKI_APP_NAME }} build: runs-on: ubuntu-latest