No GitHub Actions workflows detected in repository

空扰寡人 提交于 2020-04-16 02:43:30

问题


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.

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.

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?


回答1:


  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



来源:https://stackoverflow.com/questions/60589455/no-github-actions-workflows-detected-in-repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!