Skip to content

Commit

Permalink
Merge pull request #21 from Khingz/Khingz-patch-1
Browse files Browse the repository at this point in the history
Create main.yml
  • Loading branch information
Khingz authored Nov 30, 2023
2 parents 58d5d47 + 59bbff8 commit 29cea5c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy Jobcircus

on:
pull_request:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip install -r requirements.txt
- name: Deploy to server
run: |
ssh [email protected] 'cd /home/ubuntu/jc/job_circus && git pull origin master'
echo "JobCircus for Life!!!"

0 comments on commit 29cea5c

Please sign in to comment.