fixing action
parent
a878b31d7b
commit
e95efec8e3
|
@ -1,19 +1,11 @@
|
|||
name: scp files
|
||||
on: [push]
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: copy file via ssh password
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.SSH_KEY}}
|
||||
passphrase: ${{ secrets.KEY_PASS }}
|
||||
port: ${{ secrets.PORT }}
|
||||
source: "*"
|
||||
target: "/home/mdbook/wiki/src/"
|
||||
- name: Copy via ssh
|
||||
on: [push]
|
||||
uses: garygrossgarten/github-action-scp@v0.7.3
|
||||
with:
|
||||
local: *
|
||||
remote: /home/mdbook/wiki/src
|
||||
host: ${{ secrets.HOST }}
|
||||
port: ${{ secrets.SSH_PORT}}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
privateKey: ${{ secrets.SSH_KEY}}
|
||||
passphrase: ${{ secrets.KEY_PASS}}
|
Loading…
Reference in New Issue