starting new deploy workflow

This commit is contained in:
adueck 2023-11-26 00:12:30 +04:00
parent 0635d05d51
commit a864d6931a
1 changed files with 24 additions and 0 deletions

View File

@ -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