mirror of
https://github.com/NewFuture/DDNS.git
synced 2026-10-21 04:13:49 +00:00
+10
-6
@@ -5,8 +5,12 @@ python:
|
||||
|
||||
dist: xenial
|
||||
|
||||
# os:
|
||||
# - linux
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
os:
|
||||
- linux
|
||||
# - osx
|
||||
|
||||
before_install:
|
||||
@@ -29,8 +33,8 @@ git:
|
||||
|
||||
deploy:
|
||||
- provider: releases
|
||||
api_key: "${GH_TOKEN}"
|
||||
skip_cleanup: true
|
||||
token: "${GH_TOKEN}"
|
||||
cleanup: false
|
||||
file:
|
||||
- "dist/ddns"
|
||||
on:
|
||||
@@ -38,9 +42,9 @@ deploy:
|
||||
branch: master
|
||||
python: '3.7'
|
||||
- provider: pypi
|
||||
user: newfuture-bot
|
||||
username: newfuture-bot
|
||||
password: "${PYPI_PWD}"
|
||||
skip_cleanup: true
|
||||
cleanup: false
|
||||
distributions: "sdist bdist_wheel" # Your distributions here
|
||||
on:
|
||||
tags: true
|
||||
|
||||
Reference in New Issue
Block a user