在存储库中未检测到GitHub Actions工作流 [英] No GitHub Actions workflows detected in repository
问题描述
我正在尝试通过遵循
我在想 .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屋!