sintaxi / surge

CLI for the surge.sh CDN
https://surge.sh
2.87k stars 135 forks source link

Bitbucket pipelines - continuous deployment - prompting issue #365

Closed KennethJoris closed 3 years ago

KennethJoris commented 5 years ago

I'm using bitbucket pipelines. But the deployment fails because of surge prompts for email. I see no flags / options to pass along in the cli.

bitbucket-pipelines.yml

schermafbeelding 2019-02-08 om 14 14 32

The bitbucket pipeline stops when promted for the email adress (and password next?) schermafbeelding 2019-02-08 om 14 16 26

Is there a way to pass your email (and password) as a flag?

fu-sen commented 5 years ago

It is the same problem as this issue. You may be able to use this comment content: https://github.com/sintaxi/surge/issues/355

KennethJoris commented 5 years ago

$129 a month. No tnx.

sintaxi commented 3 years ago

Use --token for passing in an access token to any surge command. A token can be generated with the command surge token.

Surge Professional is $30/mo not $129/mo. Not seeing anything here that would require an upgrade to Pro. Looks to me like its just prompting for authentication.

Closing. Please reopen if there are any questions.