Skip to content

Commit 9f44bbe

Browse files
committed
ssh trigger
1 parent a946842 commit 9f44bbe

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,15 @@ jobs:
6060
- name: TODO - trigger script on server to download artifact
6161
run: echo 'Artifact URL is ${{ steps.upload-quick.outputs.artifact-url }}'
6262

63+
- name: trigger docs server to download artifact
64+
uses: appleboy/[email protected]
65+
with:
66+
host: ${{ secrets.DOCS_HOST }}
67+
username: docs
68+
port: ${{ secrets.DOCS_PORT }}
69+
key: ${{ secrets.DEPLOY_AUTH_KEY }}
70+
script: /var/www/docs/deploy/deploy.sh en ${{ steps.upload-quick.outputs.artifact-id }} ${{ secrets.DOWNLOAD_TOKEN }}
71+
6372
- name: build pot files
6473
run: sphinx-build -b gettext source locales/
6574

0 commit comments

Comments
 (0)