sourcetoad / aws-codedeploy-action

AWS CodeDeploy via GitHub Actions
MIT License
35 stars 13 forks source link

Error: appspec.yml was not located at: ./ #93

Closed henriqueleite42 closed 7 months ago

henriqueleite42 commented 7 months ago

appspec.yml is not found, but it exists.

Repo: https://github.com/econominhas/backend

GithubAction: https://github.com/econominhas/backend/blob/master/.github/workflows/api-deploy.yml

Usage:

- name: AWS CodeBuild & CodeDeploy
  uses: sourcetoad/aws-codedeploy-action@v1
  with:
    aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
    aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    aws_region: ${{ secrets.AWS_REGION }}
    codedeploy_name: Econominhas
    codedeploy_group: development_gropup
    s3_bucket: econominhas-dev-api-deploy
    s3_folder: api
    excluded_files: '.git/* .github/* .husky/* .vscode/* localstack/* openapi/* .dockerignore .editorconfig .eslintrc.js .gitignore .lintstagedrc .nvmrc .prettierrc docker-compose.yml Dockerfile.dev jest.config.json LICENSE README.md redocly.yaml'
    max_polling_iterations: 60

Pipe: https://github.com/econominhas/backend/actions/runs/7427009109/job/20211875467

iBotPeaches commented 7 months ago

@henriqueleite42 - Are you missing an actions/checkout line? I peeked your workflow.

henriqueleite42 commented 7 months ago

Oh, yeah, I forgot to add it! Thanks @iBotPeaches