starting new deploy workflow
This commit is contained in:
parent
0635d05d51
commit
a864d6931a
|
@ -0,0 +1,24 @@
|
|||
name: remote ssh command
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- dev
|
||||
paths:
|
||||
- "account/**"
|
||||
- ".github/workflows/new-deploy-account.yml"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
new-deploy-account:
|
||||
name: Deploy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: executing remote ssh commands using password
|
||||
uses: appleboy/ssh-action@v1.0.0
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.KEY }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script: touch ciwuzhere.txt
|
Loading…
Reference in New Issue