bhall2001 / serverless-nextjs-github-ci-cd

How to use Github actions to manage the CI/CD flow of a serverless-nextjs project.
MIT License
79 stars 11 forks source link

The user-provided path .serverless does not exist. #18

Open tiagobbraga opened 2 years ago

tiagobbraga commented 2 years ago

After delete all references, I have received this message:

Run aws s3 sync .serverless s3://homologa-estrada-real-s3/estrada-real/homologa/.serverless --delete
  aws s3 sync .serverless s3://homologa-estrada-real-s3/estrada-real/homologa/.serverless --delete
  shell: /usr/bin/bash -e {0}
  env:
    AWS_DEFAULT_REGION: us-east-1
    AWS_REGION: us-east-1
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***

The user-provided path .serverless does not exist.
Error: Process completed with exit code 255.

What's gone wrong?

bhall2001 commented 2 years ago

if you deleted all references, then you will need to comment out the first aws s3 sync command. Based on the error message .serverless does not exist which would be expected of the first run.

Note: based on a suggestion in issue #13, I am updating the github actions so you won't have to deal with commenting out the line on the first run.