Hi. I would like to ci/cd bitbucket/gitlab to deploy an app for each branch.
For example, fly deploy -a $BRANCH-some-app
But naturally I get the error Could not find App.
As I understand it, the only solution is to do fly status --app
every time,
and then either fly launch
or fly deploy
?
1 Like
This is a really neat idea!
What I would do is have a script that does something like
$ fly apps create -y $BRANCH-some-app || true
$ fly deploy -a $BRANCH-some-app
# if relevant
$ echo $APP_SECRETS | fly secrets import
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.