在存储库中未检测到GitHub Actions工作流 [英] No GitHub Actions workflows detected in repository

查看:133
本文介绍了在存储库中未检测到GitHub Actions工作流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过遵循



我在想 .yml文件中可能存在问题,但是看不到任何错误。



是否有人知道出了什么问题?

解决方案

 推送:
路径:
-app / **

如何删除此行?我看到您没有 app / 目录。详细信息请参见: https:/ /help.github.com/en/actions/reference/workflow-syntax-for-github-actions#exception-paths


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?

解决方案

  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

这篇关于在存储库中未检测到GitHub Actions工作流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆