Skip to content

Merge pull request #38 from GDG-Hackathon-77ia/docs/readme #43

Merge pull request #38 from GDG-Hackathon-77ia/docs/readme

Merge pull request #38 from GDG-Hackathon-77ia/docs/readme #43

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