Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using fly launch vs fly apps create? #49

Open
jamaljsr opened this issue Mar 19, 2024 · 1 comment
Open

Using fly launch vs fly apps create? #49

jamaljsr opened this issue Mar 19, 2024 · 1 comment

Comments

@jamaljsr
Copy link

This is part question and maybe a suggestion. Why does this action use fly launch instead of fly apps create?

I recently ran into an issue where the initial PR deployment of my app would not succeed due to healthchecks not being triggered. After getting some help in the community forums, it turn out that fly launch was modifying my fly.toml file to include the [http_service] section. This is what was breaking my deployments.

It may be a good idea for this action to check for the existence of a fly.toml file in the repo. If it does not exist, then run fly launch to deploy the app, otherwise run fly apps create so that these unexpected modifications do not occur.

@fredericrous
Copy link

there is a protection to keep fly.toml unchanged on this github action tho

cp "$config" "$config.bak"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants