Skip to content

register: Ignore non-existent channels #1

register: Ignore non-existent channels

register: Ignore non-existent channels #1

name: SSH Deploy
on: [push]
jobs:
deploy:
if: github.ref == 'refs/heads/main'
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: Push to server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USER }}
port: ${{ secrets.DEPLOY_PORT }}
key: ${{ secrets.DEPLOY_KEY }}
script: cd ${{ secrets.DEPLOY_TARGET }} && ./deploy.sh