mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-12-16 03:56:50 +08:00
[ci] update version.json when new tag pushed
This commit is contained in:
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -394,10 +394,11 @@ jobs:
|
|||||||
cat version.json
|
cat version.json
|
||||||
|
|
||||||
- name: Upload version.json to server
|
- name: Upload version.json to server
|
||||||
uses: appleboy/scp-action@v0.1.7
|
uses: burnett01/rsync-deployments@5.2
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.SERVER_HOST }}
|
switches: -avzr --delete
|
||||||
username: ${{ secrets.SERVER_USER }}
|
path: version.json
|
||||||
key: ${{ secrets.SERVER_KEY }}
|
remote_path: /var/www/html/version/
|
||||||
source: "version.json"
|
remote_host: ${{ secrets.SERVER_HOST }}
|
||||||
target: "/var/www/html/version.crossdesk.cn/"
|
remote_user: ${{ secrets.SERVER_USER }}
|
||||||
|
remote_key: ${{ secrets.SERVER_KEY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user