🚀 Make Flit publish from CI (#170)

This commit is contained in:
Sebastián Ramírez 2019-04-20 22:09:35 +04:00 committed by GitHub
parent ef7b6e8eaf
commit ffc4c716c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 2 deletions

View File

@ -20,6 +20,6 @@ after_script:
deploy:
provider: script
script: bash scripts/trigger-docker.sh
script: bash scripts/deploy.sh
on:
branch: master
tags: true

7
scripts/deploy.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
bash scripts/publish.sh
bash scripts/trigger-docker.sh

5
scripts/publish.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -e
flit publish