Skip to content

Merge pull request #41 from GDG-Hackathon-77ia/GitJIHO-patch-2 #52

Merge pull request #41 from GDG-Hackathon-77ia/GitJIHO-patch-2

Merge pull request #41 from GDG-Hackathon-77ia/GitJIHO-patch-2 #52

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install sshpass
run: sudo apt-get install sshpass
- name: Run deployment script on server
run: |
sshpass -p "${{ secrets.SSH_PASSWORD }}" ssh -o StrictHostKeyChecking=no -p 16122 rayoen@${{ secrets.SERVER_IP }} bash /home/rayoen/deploy.sh