mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-06-28 07:58:23 +00:00
Only build when branch is main [ci skip]
This commit is contained in:
parent
459c23013f
commit
b8c2f453e5
@ -12,3 +12,5 @@ pipeline:
|
|||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
secrets: [docker_username, docker_password]
|
secrets: [docker_username, docker_password]
|
||||||
|
when:
|
||||||
|
branch: main
|
@ -8,6 +8,8 @@ pipeline:
|
|||||||
- cd fly-cfg/rimgo
|
- cd fly-cfg/rimgo
|
||||||
- /root/.fly/bin/flyctl deploy --detach --remote-only
|
- /root/.fly/bin/flyctl deploy --detach --remote-only
|
||||||
secrets: [fly_api_token]
|
secrets: [fly_api_token]
|
||||||
|
when:
|
||||||
|
branch: main
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- build
|
- build
|
||||||
|
Loading…
Reference in New Issue
Block a user