Skip to content

Merge pull request #39 from SJ-Tom/patch-1 #35

Merge pull request #39 from SJ-Tom/patch-1

Merge pull request #39 from SJ-Tom/patch-1 #35

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