Skip to content

Merge pull request #118 from rogershi-dev/feature/registration-auth #121

Merge pull request #118 from rogershi-dev/feature/registration-auth

Merge pull request #118 from rogershi-dev/feature/registration-auth #121

Workflow file for this run

name: Deploy to Custom Server
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install sshpass
run: sudo apt-get update && sudo apt-get install -y sshpass
- name: Deploy to Server
env:
SSHPASS: ${{ secrets.SSH_PASS }}
run: |
sshpass -e ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} 'bash -s' < ./deploy.sh