1 Star 0 Fork 184

fsun/mootdx

forked from bopo/mootdx 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.drone.yml 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
bopo 提交于 2024-03-11 10:56 . update drone.yml
---
kind: pipeline
name: default
type: docker
steps:
- name: test
image: mootdx:ci
commands:
- pytest -vs
- name: pypi
image: mootdx:ci
commands:
- python -m pip install poetry
- python -m poetry publish --no-cache --build --username=__token__ --password=$PYPI_PASSWORD
environment:
PYPI_PASSWORD:
from_secret: pypi_password
when:
ref:
include:
- refs/tags/**
# - name: sync
# image: mootdx:ci
# environment:
# SSH_KEY:
# from_secret: ssh_key
# commands:
# - echo "$SSH_KEY" > ~/.ssh/id_rsa
# - git remote add github [email protected]:mootdx/mootdx.git
# - git remote add gitee [email protected]:ibopo/mootdx.git
# - git checkout develop
# - git pull gitee develop
# - git push gitee develop
# - git pull github develop
# - git push github develop
#
# - name: publish
# image: mootdx:ci
# environment:
# USERNAME:
# from_secret: username
# PASSWORD:
# from_secret: password
# commands:
# - make history USERNAME=$USERNAME PASSWORD=$PASSWORD
# - make publish USERNAME=$USERNAME PASSWORD=$PASSWORD
# when:
# event:
# - promote
# target:
# - production
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/fsun/mootdx.git
[email protected]:fsun/mootdx.git
fsun
mootdx
mootdx
master

搜索帮助