Skip to content

Update deploy.yml

Update deploy.yml #2

Workflow file for this run

name: Remote update execution
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Pull latest commit and deploy it to production
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
script: |
bash /opt/scripts/deploy.sh