[V3] Splitted deployment stage into their own stages. (#1524)

* Splitted deplyoment stages into their own stage.

* Updated Codeowners to reflect meta files.
This commit is contained in:
Kowlin 2018-04-13 23:16:36 +02:00 committed by palmtree5
parent 04f93c98d2
commit d9fa875d84
2 changed files with 24 additions and 14 deletions

4
.github/CODEOWNERS vendored
View File

@ -49,3 +49,7 @@ setup.py @tekulvw
redbot/__init__.py @tekulvw redbot/__init__.py @tekulvw
redbot/__main__.py @tekulvw redbot/__main__.py @tekulvw
redbot/setup.py @tekulvw redbot/setup.py @tekulvw
# Others
.travis.yml @Kowlin
crowdin.yml @Kowlin

View File

@ -17,16 +17,11 @@ script:
jobs: jobs:
include: include:
- stage: Deployment - stage: PyPi Deployment
if: tag IS present if: tag IS present
python: 3.5.3 python: 3.5.3
env: env:
- DEPLOYING=true - DEPLOYING=true
before_deployment:
- curl https://artifacts.crowdin.com/repo/GPG-KEY-crowdin | sudo apt-key add -
- echo "deb https://artifacts.crowdin.com/repo/deb/ /" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -qq
- sudo apt-get install -y crowdin
deploy: deploy:
- provider: pypi - provider: pypi
user: Red-DiscordBot user: Red-DiscordBot
@ -38,6 +33,17 @@ jobs:
branch: V3/develop branch: V3/develop
python: 3.5.3 python: 3.5.3
tags: true tags: true
- stage: Crowdin Deployment
if: tag IS present
python: 3.5.3
env:
- DEPLOYING=true
before_deployment:
- curl https://artifacts.crowdin.com/repo/GPG-KEY-crowdin | sudo apt-key add -
- echo "deb https://artifacts.crowdin.com/repo/deb/ /" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -qq
- sudo apt-get install -y crowdin
deploy:
- provider: script - provider: script
script: python3 ./generate_strings.py script: python3 ./generate_strings.py
skip_cleanup: true skip_cleanup: true