Directory is specified but everything is pushed
See original GitHub issueHi! I want to push only a specific folder but everything is pushed instead. This is my workflow:
- name: Commit files
run: |
git config --local user.email "~email~"
git config --local user.name "~name~"
git add Output/
git commit -m "update"
- name: GitHub Push
uses: ad-m/github-push-action@v0.5.0
with:
github_token: ${{ secrets.githubToken }}
repository: ~repo~
force: true
directory: 'Output'
Am I doing something wrong? 🤔
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
git - Push an android studio project under a specified directory ...
Just create new "Android" folder locally and move all files there. Then run following commands: git add . Check that files were added...
Read more >Workflow syntax for GitHub Actions
When using the push event, you can configure a workflow to run on specific branches or tags. Use the branches filter when you...
Read more >docker build - Docker Documentation
The docker build command builds Docker images from a Dockerfile and a “context”. A build's context is the set of files located in...
Read more >Working with git submodules. A walkthrough - Medium
This file is a list of all submodules and respective repositories. It is created and managed by git. Do not edit it manually....
Read more >Push commits to an additional Git repository - AWS CodeCommit
From the command prompt or terminal, switch to your local repo directory and run the git remote -v command. You should see output...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could you add “git status” before and after “git commit” and provide logs there? It’s only for debugging purpose.
Hello, may I ask what solution you are using? Thank you