mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
update demo site fly.toml to use image from ghcr instead of building one. Also make the deployment pipeline dependent on pushes to ghcr.
This commit is contained in:
parent
bb2ec892aa
commit
36a146486d
2 changed files with 8 additions and 3 deletions
10
.github/workflows/fly-deploy.yml
vendored
10
.github/workflows/fly-deploy.yml
vendored
|
|
@ -2,9 +2,13 @@
|
|||
|
||||
name: Fly Deploy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
# Since the `fly.toml` specifies the `latest` tag, we trigger this
|
||||
# deployment whenever a new version is published to the container registry.
|
||||
# @see: ghcr-publish.yml
|
||||
workflow_run:
|
||||
workflows: ["Publish to ghcr"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
|
|
|
|||
1
fly.toml
1
fly.toml
|
|
@ -7,6 +7,7 @@ app = 'sourcebot'
|
|||
primary_region = 'sjc'
|
||||
|
||||
[build]
|
||||
image = "ghcr.io/sourcebot-dev/sourcebot:latest"
|
||||
|
||||
[http_service]
|
||||
internal_port = 3000
|
||||
|
|
|
|||
Loading…
Reference in a new issue