We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab131f6 commit d5f547eCopy full SHA for d5f547e
.github/workflows/updata.yml
@@ -17,4 +17,10 @@ jobs:
17
if: github.ref == 'refs/heads/main'
18
with:
19
github_token: ${{ secrets.GITHUB_TOKEN }}
20
- publish_dir: ./build
+ publish_dir: ./build
21
+ - name: Deploy to mainland server
22
+ uses: webfactory/[email protected]
23
+ with:
24
+ ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
25
+ - name: Rsync files to server
26
+ run: rsync -avz --delete ./build/ ${{ secrets.IP }}
0 commit comments