Skip to content

Commit bf08774

Browse files
committed
Add deploy workflow
1 parent 99cff71 commit bf08774

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
jobs:
2+
deploy:
3+
runs-on: ubuntu-latest
4+
steps:
5+
- name: Checkout repo
6+
uses: actions/checkout@v3
7+
8+
- name: Set up Python
9+
uses: actions/setup-python@v4
10+
with:
11+
python-version: "3.10"
12+
13+
- name: Install dependencies
14+
run: pip install -r requirements.txt
15+
16+
- name: Run server
17+
env:
18+
ADMIN_USER: ${{ secrets.ADMIN_USER }}
19+
ADMIN_PASS: ${{ secrets.ADMIN_PASS }}
20+
CLIENT_USER: ${{ secrets.CLIENT_USER }}
21+
CLIENT_PASS: ${{ secrets.CLIENT_PASS }}
22+
USR_USER: ${{ secrets.USR_USER }}
23+
USR_PASS: ${{ secrets.USR_PASS }}
24+
DEMO_USERS: ${{ secrets.DEMO_USERS }}
25+
SECRET_KEY: ${{ secrets.SECRET_KEY }}
26+
run: |
27+
python servidor.py
28+

0 commit comments

Comments
 (0)