mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 06:26:30 +03:00
push docs to delta.chat instead of codespeak
This commit is contained in:
12
.github/workflows/upload-docs.yml
vendored
12
.github/workflows/upload-docs.yml
vendored
@@ -76,8 +76,10 @@ jobs:
|
|||||||
- name: Build C documentation
|
- name: Build C documentation
|
||||||
run: nix build .#jsonrpc-docs
|
run: nix build .#jsonrpc-docs
|
||||||
- name: Upload to ts.delta.chat
|
- name: Upload to ts.delta.chat
|
||||||
run: |
|
uses: up9cloud/action-rsync@v1.3
|
||||||
mkdir -p "$HOME/.ssh"
|
env:
|
||||||
echo "${{ secrets.CODESPEAK_KEY }}" > "$HOME/.ssh/key"
|
USER: ${{ secrets.USERNAME }}
|
||||||
chmod 600 "$HOME/.ssh/key"
|
KEY: ${{ secrets.KEY }}
|
||||||
rsync -avzh -e "ssh -i $HOME/.ssh/key -o StrictHostKeyChecking=no" $GITHUB_WORKSPACE/result/html/ "delta@c.delta.chat:/home/delta/build-ts/master"
|
HOST: "delta.chat"
|
||||||
|
SOURCE: "target/doc"
|
||||||
|
TARGET: "/var/www/html/ts/"
|
||||||
Reference in New Issue
Block a user