Trying a new action
parent
a32947f784
commit
193490e560
|
@ -1,13 +1,18 @@
|
||||||
name: Copy via ssh
|
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
|
||||||
|
|
||||||
uses: garygrossgarten/github-action-scp@v0.7.3
|
jobs:
|
||||||
|
deploy_job:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: deploy
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: deploy file
|
||||||
|
uses: wlixcc/SFTP-Deploy-Action@v1.0
|
||||||
with:
|
with:
|
||||||
local: /
|
username: ${{ secrets.USERNAME}}
|
||||||
remote: /home/mdbook/wiki/src
|
server: ${{ secrets.HOST}}
|
||||||
host: ${{ secrets.HOST }}
|
ssh_private_key: ${{ secrets.SSH_KEY }}
|
||||||
port: ${{ secrets.SSH_PORT}}
|
local_path: './*'
|
||||||
username: ${{ secrets.USERNAME }}
|
remote_path: '/home/mdbook/wiki/src'
|
||||||
privateKey: ${{ secrets.SSH_KEY}}
|
args: '-o ConnectTimeout=5'
|
||||||
passphrase: ${{ secrets.KEY_PASS}}
|
|
Loading…
Reference in New Issue