Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to use this as a submodule #459

Open
fullwoody opened this issue May 21, 2024 · 0 comments
Open

Trying to use this as a submodule #459

fullwoody opened this issue May 21, 2024 · 0 comments

Comments

@fullwoody
Copy link

Good afternoon, I am trying to use this as a sub module for an internal GitHub action. I have pulled a copy of the GitHub repo and added it as a sub module, I cant seem to get it to find the repo within it though. My company doesn't allow forking, nor does it allow me to "use" external repos which is why I downloaded it and added it as a sub module.

I am attempting to check out the sub module but it keeps failing saying repo cannot be found. I have cloned the repo into my primary repo, the main branch is simply called main. the sub module is called FTP-Deploy-Action. I am really new at GitHub, I don't particularly care for it, I was always a TFS person. If anyone can help or give me an example of how to call this as a sub module i would be greatly appreciative.

ill put the code I'm using below, there are a variety of steps above which all seem to work, my next task after this is the actual use local FTP-Deploy-Action. But i am just trying to get through the checkout process:

  • name checkout tools repo
    uses: actions/checkout@v2
    with:
    repository: MyRepo/FTP-Deploy-Action
    path: FTP-Deploy-Action
    submodules: 'recursive'
    ref: 'master'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant