-
Notifications
You must be signed in to change notification settings - Fork 107
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
Flaky CLI deployment #799
Comments
Same/Similar problem here. I am using the CLI inside a docker container from the image: swacli/static-web-apps-cli:latest Running inside the container running locally is fine.
|
I found the reason for my own problem... Next, I started getting a Bad Request error, but this was caused by the Deployment Token being removed. I presume it was deleted when I removed the Preview Environment. I certainly didn't delete the Token myself. Once I recreated the Token and updated my BitBucket pipeline variable with the new value, it all started working. |
https://stackoverflow.com/questions/78328458/swacli-does-not-produce-error-and-does-not-deploy I have an issue similiar to this. the script just stops running with no error output. |
Describe the bug
I'm using the CLI to manually deploy the websites in CI. But the process is flaky. It throws an error (
spawn ETXTBSY
) which means in some sources that the file descriptor is being accessed from two different processes, therefore throwing an error. Rerunning it sometimes solves the problem. But this is very flaky.Console output:
To Reproduce
Steps to reproduce the behavior:
Run
swa deploy --no-use-keychain --app-location "." --config-name "app" --output-location "dist" --env pr19
in Github ActionsExpected behavior
To work every time the command is run
The text was updated successfully, but these errors were encountered: