From 9f44bbec98a963e145b972cf69ea63d04bdc61bf Mon Sep 17 00:00:00 2001 From: Markus Meissner Date: Mon, 25 Nov 2024 12:56:30 +0100 Subject: [PATCH] ssh trigger --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10d8543c8e..3ccfd96218 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,6 +60,15 @@ jobs: - name: TODO - trigger script on server to download artifact run: echo 'Artifact URL is ${{ steps.upload-quick.outputs.artifact-url }}' + - name: trigger docs server to download artifact + uses: appleboy/ssh-action@v1.2.0 + with: + host: ${{ secrets.DOCS_HOST }} + username: docs + port: ${{ secrets.DOCS_PORT }} + key: ${{ secrets.DEPLOY_AUTH_KEY }} + script: /var/www/docs/deploy/deploy.sh en ${{ steps.upload-quick.outputs.artifact-id }} ${{ secrets.DOWNLOAD_TOKEN }} + - name: build pot files run: sphinx-build -b gettext source locales/