Skip to content

Commit 06c113f

Browse files
authored
Update ruby.yml
1 parent e8c726a commit 06c113f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/ruby.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ jobs:
2020
gem install jekyll -v 3.8.5
2121
jekyll build
2222
23-
- name: Uploading files
24-
run: |
25-
scp -o StrictHostKeyChecking=no -r -P ${{ secrets.PORT }} _site ${{ secrets.USERNAME }}@${{ secrets.HOST }}:test
23+
- 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: "test"

0 commit comments

Comments
 (0)