Skip to content

deployment

deployment #3

Workflow file for this run

name: deployment
on:
workflow_dispatch:
jobs:
deployment-job:
name: Deployment
runs-on: ubuntu-latest
steps:
- name: SSH into the machine and run some commands
uses: appleboy/ssh-action@master
with:
host: 52.66.189.157
username: dev
key: ${{ secrets.SH_SSH }}
port: 22
script: |
./deployment.sh
cd capistrano
echo "Running deployment script on the server"
whoami
pwd
cap --version