We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb2ec89 commit 36a1464Copy full SHA for 36a1464
.github/workflows/fly-deploy.yml
@@ -2,9 +2,13 @@
2
3
name: Fly Deploy
4
on:
5
- push:
6
- branches:
7
- - 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
8
+ workflow_run:
9
+ workflows: ["Publish to ghcr"]
10
+ types:
11
+ - completed
12
13
jobs:
14
deploy:
fly.toml
@@ -7,6 +7,7 @@ app = 'sourcebot'
primary_region = 'sjc'
[build]
+ image = "ghcr.io/sourcebot-dev/sourcebot:latest"
[http_service]
internal_port = 3000
0 commit comments