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 3e072b1 commit f043221Copy full SHA for f043221
.github/workflows/deploy-to-server.yml
@@ -0,0 +1,22 @@
1
+name: Deploy to server
2
+on:
3
+ workflow_dispatch:
4
+jobs:
5
+ deploy-to-server:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - name: Check
9
+ uses: actions/checkout@v4
10
+
11
+ - name: ssh deploy
12
+ uses: easingthemes/[email protected]
13
+ with:
14
+ SSH_PRIVATE_KEY: ${{ secrets.PANEL_CN_HOST_KEY }}
15
+ REMOTE_HOST: ${{ secrets.PANEL_CN_HOST }}
16
+ REMOTE_USER: ${{ secrets.PANEL_CN_HOST_USERNAME }}
17
+ SOURCE: ./
18
+ TARGET: /opt/1panel/docs/
19
+ # Arguments to pass to rsync
20
+ ARGS: "-rltgoDzvO --delete"
21
+ # An array of folder to exclude
22
+ EXCLUDE: ".git/"
0 commit comments