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