Github Actions
This commit is contained in:
parent
44a69e06fb
commit
14920bbf04
|
|
@ -0,0 +1,27 @@
|
|||
name: Fly Deploy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- staging
|
||||
jobs:
|
||||
prod-deploy:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
name: Deploy Production App
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: superfly/flyctl-actions/setup-flyctl@master
|
||||
- run: flyctl deploy -c fly.toml --app honcho --remote-only
|
||||
env:
|
||||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
||||
staging-deploy:
|
||||
if: github.ref == 'refs/heads/staging'
|
||||
name: Deploy Staging App
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: superfly/flyctl-actions/setup-flyctl@master
|
||||
- run: flyctl deploy -c fly.toml --app staging-honcho --remote-only
|
||||
env:
|
||||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
||||
2
chain.py
2
chain.py
|
|
@ -301,7 +301,7 @@ class BloomChain:
|
|||
print("Finished User Prediction")
|
||||
print("=========================================")
|
||||
finally:
|
||||
yield "TERMINATED SEQUENCE"
|
||||
yield "❀"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue