added github action
parent
b454af307f
commit
a878b31d7b
|
@ -0,0 +1,19 @@
|
||||||
|
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/"
|
Loading…
Reference in New Issue