添加cicd文件
This commit is contained in:
parent
6214bb0f07
commit
4b85ca9660
|
@ -0,0 +1,21 @@
|
|||
image: python:3.9
|
||||
|
||||
stages:
|
||||
- install
|
||||
- deploy
|
||||
|
||||
before_script:
|
||||
- python -V # Print out python version for debugging
|
||||
- pip install -r requirements.txt
|
||||
|
||||
install:
|
||||
stage: install
|
||||
script:
|
||||
- pip install -r requirements.txt
|
||||
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
script:
|
||||
- python main.py
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue