You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(A clear and concise description of what the bug is)
When I deploy my docusaurus site onto my organizations github I get the following error:
~/catkin_ws/src/nautilus_stack/docs (master) $ GIT_USER=TheCynosure USE_SSH=true yarn deploy
yarn run v1.22.5
$ docusaurus deploy
Deploy command invoked ...
master
git@github.com:ut-amrl/nautilus_stack.git
c737eaac6ff35dcb8b304438cf9897a5900095e0
Creating an optimized production build...
✔ Client
Compiled successfully in 4.90s
✔ Server
Compiled successfully in 6.91s
Success! Generated static files in build.
Cloning into 'nautilus_stack-gh-pages'...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Error: Error: git clone failed
at build_1.build.then (/home/jack/catkin_ws/src/nautilus_stack/docs/node_modules/@docusaurus/core/lib/commands/deploy.js:79:19)
at process._tickCallback (internal/process/next_tick.js:68:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Create a docusaurus repository inside a subfolder of another repository (Organization repository). For example mine is located here.
Deploy the site using the command: GIT_USER=<Your username> USE_SSH=true yarn deploy
Expected behavior
I thought the site would be successfully deployed.
Actual Behavior
Failure to deploy because of missing repository for cloning into (if I could also get an explanation on what this means then maybe that could shed light on the bug source).
Your Environment
Docusaurus version used: 2.0.0-alpha.54
Environment name and version: Firefox 83, Node v10.19.0
Operating system and version: Ubuntu 20.04, Desktop.
Reproducible Demo
Instructions
Listed in To Reproduce section, but if you want to use my repository (you of course cannot deploy to this organization but...)
I was able to successfully deploy these docs to my own account using a different repository. I simply copied the repository from my private version (the one I was able to deploy) to my new repo and then tried to redeploy (changing the docusaurus.config.js siteName, URL, and baseUrl as needed).
I have access rights to all repositories on this organization.
I have tried creating this nautilus_stack-gh-pages repo in the organization, didn't work. Also have created gh-pages branches in the original repo to see if that would help. Lastly, I have tried recopying the site many times but each time it hasn't worked. I properly change the remote URL and delete old git leftovers from the old repo if you were wondering.
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
(A clear and concise description of what the bug is)
When I deploy my docusaurus site onto my organizations github I get the following error:
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
GIT_USER=<Your username> USE_SSH=true yarn deploy
Expected behavior
I thought the site would be successfully deployed.
Actual Behavior
Failure to deploy because of missing repository for cloning into (if I could also get an explanation on what this means then maybe that could shed light on the bug source).
Your Environment
Reproducible Demo
Instructions
Listed in To Reproduce section, but if you want to use my repository (you of course cannot deploy to this organization but...)
cd docs
yarn
GIT_USER=<user> USE_SSH=true yarn deploy
My repository: repo
More notes that might help:
The text was updated successfully, but these errors were encountered: