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