When clicking the Publish button from Cypress an error is thrown:
Running in a docker container on local machine:
time="2023-08-24T18:45:43.536Z" level=error msg="Internal Server Error: open /root/.rsconnect-python/servers.json: not a directory"
Running in Github Actions:
time=2023-08-24T15:03:45.112Z level=ERROR msg="Internal Server Error" method=POST url=/api/publish error="open /home/runner/.config/rsconnect-python/servers.json: not a directory"
When clicking the Publish button from Cypress an error is thrown: Running in a docker container on local machine:
Running in Github Actions:
Error in GHA: https://github.com/rstudio/publishing-client/actions/runs/5965392402/job/16182895133#step:9:922
I have a script that puts the
servers.json
file in the proper location and I launch the publish-ui with the server defined in myservers.json
file.Launch command:
Script: https://github.com/rstudio/publishing-client/blob/kg-deploy-cypress/test/fixtures/setup.py
Servers file: https://github.com/rstudio/publishing-client/blob/kg-deploy-cypress/test/fixtures/servers.json