Skip to content

Commit bc5b14a

Browse files
authored
Change method for uploading data
1 parent 935eb37 commit bc5b14a

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/ruby.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ jobs:
2121
jekyll build
2222
2323
- name: Uploading website
24-
uses: appleboy/scp-action@master
25-
with:
26-
host: ${{ secrets.HOST }}
27-
username: ${{ secrets.USERNAME }}
28-
password: ${{ secrets.PASSWORD }}
29-
port: ${{ secrets.PORT }}
30-
source: "_site/*"
31-
target: "groups/net-lab/www2/"
24+
run: |
25+
apt install sshpass
26+
sshpass -p "${{ secrets.PASSWORD }}" scp -P ${{ secrets.PORT }} -r _site/* ${{ secrets.USERNAME }}@${{ secrets.HOST }}:groups/net-lab/www2/

0 commit comments

Comments
 (0)