Skip to content

Merge pull request #12 from Andre601/patch-1 #13

Merge pull request #12 from Andre601/patch-1

Merge pull request #12 from Andre601/patch-1 #13

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 }}
command_timeout: 30m
script: |
bash /opt/scripts/deploy.sh