mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-12 05:26:45 +00:00
🚀 Make Flit publish from CI (#170)
This commit is contained in:
parent
ef7b6e8eaf
commit
ffc4c716c0
3 changed files with 14 additions and 2 deletions
|
|
@ -20,6 +20,6 @@ after_script:
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
script: bash scripts/trigger-docker.sh
|
script: bash scripts/deploy.sh
|
||||||
on:
|
on:
|
||||||
branch: master
|
tags: true
|
||||||
|
|
|
||||||
7
scripts/deploy.sh
Executable file
7
scripts/deploy.sh
Executable 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
5
scripts/publish.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
flit publish
|
||||||
Loading…
Reference in a new issue