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

Git Worktree #25

Closed
abueide opened this issue Jul 1, 2020 · 2 comments
Closed

Git Worktree #25

abueide opened this issue Jul 1, 2020 · 2 comments

Comments

@abueide
Copy link

abueide commented Jul 1, 2020

Hey, I'm getting this error when deploying to github pages.

/usr/bin/git worktree add --checkout github-pages-deploy-action-temp-deployment-folder origin/gh-pages
Preparing github-pages-deploy-action-temp-deployment-folder (identifier github-pages-deploy-action-temp-deployment-folder)
HEAD is now at 0b4b99a Deploying to gh-pages from @ 59d1b5aa0c54698bf3976c1b5e2f8451916e17c8 🚀
/usr/bin/rsync -q -av --checksum --progress build/web/. github-pages-deploy-action-temp-deployment-folder --exclude .ssh --exclude .git --exclude .github
/usr/bin/git status --porcelain
M index.pck
/usr/bin/git add --all .
/usr/bin/git checkout -b github-pages-deploy-action/yqcvcm0um
Switched to a new branch 'github-pages-deploy-action/yqcvcm0um'
M index.pck
/usr/bin/git commit -m Deploying to gh-pages from @ 9027b690b7b0935ebd6e953cfca476acb0f83308 🚀 --quiet
/usr/bin/git push --force ***github.com/ugdt/zelcrawler.git github-pages-deploy-action/yqcvcm0um:gh-pages
To https://github.com/ugdt/zelcrawler.git
0b4b99a..8119bbc github-pages-deploy-action/yqcvcm0um -> gh-pages
Changes committed to the gh-pages branch… 📦
/usr/bin/git checkout --progress --force 9027b690b7b0935ebd6e953cfca476acb0f83308
HEAD is now at 9027b69... Update github-pages
Running post deployment cleanup jobs… 🗑️
/usr/bin/git worktree remove github-pages-deploy-action-temp-deployment-folder --force
usage: git worktree add [] []
or: git worktree list []
or: git worktree lock []
or: git worktree prune []
or: git worktree unlock

##[error]The process '/usr/bin/git' failed with exit code 129

@realkotob
Copy link
Collaborator

I think maybe @OverloadedOrama has an idea about working with the github actions config.

Also see if #22 has any useful info.

@OverloadedOrama
Copy link
Contributor

OverloadedOrama commented Jul 5, 2020

I'm not sure, but it's possible the issue has to do with the fact that you're working in a private repository. #22 uses https://github.com/JamesIves/github-pages-deploy-action, so I suggest to take a look at the README on that repository to see if you need any more steps. You probably have to use a SSH Deploy Key.

EDIT: My bad, last time I checked I couldn't find your repo so I thought it was a private repo. I took a look at your workflow file, it seems that you forgot the install rsync step.

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

4 participants