-
Notifications
You must be signed in to change notification settings - Fork 12k
alternative command (like github-pages:deploy-master) for github-pages:deploy that will push to master if my repository is XXX.github.io #3772
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
Comments
@filipesilva I'm not sure I understand this issue, so I'll defer to you. |
Which I did, see https://github.com/gabbydgab/gabbydgab.github.io The issues (basically inconvenience) that I encountered are the following:
You can read more about the documentation for User/Organization Page that has a repository named username.github.io
The cli command With this issue (inconvenience), I humbly ask for a new feature to add command like |
Closed via #4385. @gabbydgab will you find an alternative package in that PR, I think it supports your usecase. |
@gabbydgab I've the same issue with the command git status
git add *
git commit -m "deploy"
git pull
git push
ng github-pages:deploy
git checkout gh-pages
echo "copy all your files in this folder to a temporary folder outside this repository (except these inside the `.gitignore` file)"
pause
rem must be automatic done by using this xcopy . ..\temp
git checkout master
echo "copy all your file form the temporary folder back into the repository"
pause
rem rmdir /s /q .
rem xcopy ..\temp .
git status
git add *
git commit -m "deploy"
git pull
git push
echo "site is deployed!"
git checkout development But there is a bug in the site. See the question on Stack Overflow. Could this ba a solution for your issue or do you know the answer of my question? Thanks |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
since GH-PAGES for XXX.github.io repo should be in master branch, then ng github-pages:deploy command is irrelevant.
My short-term solution (see https://github.com/gabbydgab/gabbydgab.github.io) is to push the code in develop branch then do
git subtree push --prefix dist origin master
to push it on master.My current workflow for my solution:
With this, I would like to request for new feature that will commit code in develop branch then push gh-page to master if my repository is XXX.github.io
New workflow:
So every time I'm done working with my page, then I'll just invoke
ng github-pages:deploy-master
to push my code with ease.The text was updated successfully, but these errors were encountered: