添加cicd文件

This commit is contained in:
Administrator 2023-07-13 11:08:59 +08:00
parent 6214bb0f07
commit 4b85ca9660
2 changed files with 21 additions and 0 deletions

21
.gitlab-ci.yml Normal file
View File

@ -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.