Bhavya
Bhavya

Reputation: 16192

No GitHub Actions workflows detected in repository

I am trying to build and push a docker image to Amazon ECR with GitHub Actions by following this tutorial

I'm trying to set up GitHub Actions for this repo, so I've created a new workflow in the .github/workflows directory.

The DockerFile is successfully created and build.

enter image description here

enter image description here

Now, after creating build.yml and committing it into the master branch ,when I go to the "Actions" tab in the repository no workflows are shown.

enter image description here

I'm thinking that probably there is an issue in the .yml file but no error is visible.

Does anyone have an idea what's wrong?

Upvotes: 1

Views: 2042

Answers (1)

banyan
banyan

Reputation: 4192

  push:
    paths:
    - app/**

How about removing this line? I see you don't have app/ directory. See more in detail: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#excluding-paths

Upvotes: 1

Related Questions