mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[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:
parent
04f93c98d2
commit
d9fa875d84
4
.github/CODEOWNERS
vendored
4
.github/CODEOWNERS
vendored
@ -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
|
||||||
|
|||||||
34
.travis.yml
34
.travis.yml
@ -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,11 +33,22 @@ jobs:
|
|||||||
branch: V3/develop
|
branch: V3/develop
|
||||||
python: 3.5.3
|
python: 3.5.3
|
||||||
tags: true
|
tags: true
|
||||||
- provider: script
|
- stage: Crowdin Deployment
|
||||||
script: python3 ./generate_strings.py
|
if: tag IS present
|
||||||
skip_cleanup: true
|
python: 3.5.3
|
||||||
on:
|
env:
|
||||||
repo: Cog-Creators/Red-DiscordBot
|
- DEPLOYING=true
|
||||||
branch: V3/develop
|
before_deployment:
|
||||||
python: 3.5.3
|
- curl https://artifacts.crowdin.com/repo/GPG-KEY-crowdin | sudo apt-key add -
|
||||||
tags: true
|
- 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
|
||||||
|
script: python3 ./generate_strings.py
|
||||||
|
skip_cleanup: true
|
||||||
|
on:
|
||||||
|
repo: Cog-Creators/Red-DiscordBot
|
||||||
|
branch: V3/develop
|
||||||
|
python: 3.5.3
|
||||||
|
tags: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user