Skip to content

chore: Update main.yml #2

chore: Update main.yml

chore: Update main.yml #2

Workflow file for this run

on:
push:
branches: [ cicd ]
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
steps:
- name: excuting remote ssh commands
uses: appleboy/[email protected]
with:
host: ${{ secrets.REMOTE_IP }}
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.REMOTE_PRIVATE_KEY }}
port: ${{ secrets.REMOTE_SSH_PORT }}
password: ${{ secrets.SSH_PASSWORD }}
script: |
ls -al