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 the CLI tool in github actions #102

Open
shmuel-blitz opened this issue May 10, 2023 · 0 comments
Open

using the CLI tool in github actions #102

shmuel-blitz opened this issue May 10, 2023 · 0 comments

Comments

@shmuel-blitz
Copy link

shmuel-blitz commented May 10, 2023

Hi
thanks for this great tool!

i kind of like the idea of using github actions to run the same scripts in the same way as it would run on my machine.
but i can't use the beanstalk-deploy CLI in the same way i use on my machine
because of this env var
Screenshot 2023-05-10 at 23 50 45
can we export a CLI only version that will not use the "IS_GITHUB_ACTION" env var ?
or
add a neutral env var to negate it like EB_CLI_DEPLOY=true

if (IS_GITHUB_ACTION && !EB_CLI_DEPLOY) {
    // do the github actions magic
} else {
    // use normal CLI args
}

I'll be more than glad to do the PR if you like the idea

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

1 participant