20 lines
446 B
YAML
20 lines
446 B
YAML
name: Deploy
|
|
run-name: Deploy
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Execute Remote SSH Commands
|
|
uses: appleboy/ssh-action@v1.0.3
|
|
with:
|
|
host: ${{ secrets.SSH_HOST }}
|
|
username: ${{ secrets.SSH_USERNAME }}
|
|
key: ${{ secrets.SSH_PASSWORD }}
|
|
port: 22
|
|
script: |
|
|
cd /home/vbevdev/test
|
|
touch hello-there.txt
|