Canstralian commited on
Commit
a6b52d0
·
verified ·
1 Parent(s): 501fe8b

Create .github/workflows/deploy.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yml +26 -0
.github/workflows/deploy.yml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Deploy
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v4
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v3
16
+ with:
17
+ python-version: '3.10'
18
+ - name: Install dependencies
19
+ run: |
20
+ python -m venv venv
21
+ source venv/bin/activate
22
+ pip install -r requirements.txt
23
+ - name: Deploy
24
+ run: |
25
+ source venv/bin/activate
26
+ # Add your deployment commands here