Skip to content

Commit b1606ad

Browse files
authored
Update node.js.yml
1 parent 4e6d374 commit b1606ad

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/node.js.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
- run: npm install
1616
- run: npm run build
1717
- name: Deploy to server
18-
uses: appleboy/scp-action@master
19-
with:
20-
host: ${{ secrets.HOST }}
21-
port: ${{ secrets.PORT }}
22-
username: ${{ secrets.USERNAME }}
23-
key: ${{ secrets.KEY }}
24-
source: "./build/*"
25-
target: "/root/onrain/frontend"
26-
strip_components: 1
27-
overwrite: true
18+
uses: appleboy/scp-action@master
19+
with:
20+
host: ${{ secrets.HOST }}
21+
port: ${{ secrets.PORT }}
22+
username: ${{ secrets.USERNAME }}
23+
key: ${{ secrets.KEY }}
24+
source: "./build/*"
25+
target: "/root/onrain/frontend"
26+
strip_components: 1
27+
overwrite: true

0 commit comments

Comments
 (0)