[Plugin]: 404 error #194
-
Issue validation
Command usedUpload single current active note Plugin version6.4.0 Describe the bugRun actions/configure-pages@v2 How to reproduce ?I have only one file ... index.md [copy and pasted from above]. When I use the Command Palette to push the single file, I get the above error. Run actions/configure-pages@v2 Minimal Reproducible Examplemy index.md file title: "Test"
|
Beta Was this translation helpful? Give feedback.
Replies: 23 comments 19 replies
-
Could you try to use the verification repository command's first? There is a button in the setting for that. |
Beta Was this translation helpful? Give feedback.
-
I'm sorry, I answered this via email. I didn't know I should have responded here. I've never submitted this type of thing before. Yes, I did that right after I had set up the plugin with my github credentials and Github token. It said everything appeared to be valid. I just double checked it again. It said the same. I issued the publish single active note again. This time I got a message saying that the upload was successful. In my Actions tab on Github, the "pages build and deployment" passed, but there is no creation of the gh-pages branch. There is only the 'main' branch. Thank you for your assistance. Again, I'm very sorry for any inconvenience!!! |
Beta Was this translation helpful? Give feedback.
-
This is the template I am using ... https://github.com/ObsidianPublisher/template-gh-pages I do not know which workflow is being used. There are 4 of them in the .github/workflows folder. They are ... deploy.yml On the "Actions" Tab, it says this ... [skip netlify] PUBLISHER (commit number) The .obsidian/plugins/obsidian-mkdocs-publisher/env is not empty; and it has the correct Token. (I just double checked it to make sure). The file is NOT being uploaded into my repository. In Obsidian, I used the Command Palette to send "Upload single current active note". After several seconds, I get the popup message / notification that the file has been successfully sent to the repo. However, this is not the case. The workflow has no error I fixed the Github workflow setting; it was unchecked. AFTER I fixed this, I re-ran the Command Palette Command with the same result. I also double checked that my Source is in fact Github Actions. |
Beta Was this translation helpful? Give feedback.
-
Correction to the above ... in the "Actions" tab there are two workflows being processed. The first one is "pages build and deployment" - no errors |
Beta Was this translation helpful? Give feedback.
-
Correct. I also double-checked to ensure that I placed it in the 'docs' folder. That is where it is located in my fault. Rechecked repo credentials ... Repo name is "Bible-Study-Notebook" I'm not finding data.json? I'm looking in .obsidian directory |
Beta Was this translation helpful? Give feedback.
-
Github portion of data.json{ |
Beta Was this translation helpful? Give feedback.
-
I copy and pasted it as it is in my data.json file? |
Beta Was this translation helpful? Give feedback.
-
Okay. I'll edit mine to conform to yours (using my info). Give me a few. |
Beta Was this translation helpful? Give feedback.
-
AHHHH ... in my data.json ... my repo and user are under "tokenPath". Let me paste the entire contents of the file.{ |
Beta Was this translation helpful? Give feedback.
-
OKAY The file are in https://github.com/AgedLace/Bible-Study-Notebook/blob/main/mkdocs.yml You need to update it !!! That's why you get not the good things :> |
Beta Was this translation helpful? Give feedback.
-
I don't know how to update that file? |
Beta Was this translation helpful? Give feedback.
-
Ohhh ... do you mean to set my site name to https://BeNotDeceived.org/Bible-Study-Notebook? |
Beta Was this translation helpful? Give feedback.
-
Okay ... the file was indeed uploaded to docs/hidden. I don't understand, because I set "share" true". Should it not just be "docs/index.md" ? |
Beta Was this translation helpful? Give feedback.
-
Ahhh ... I used the "mkdocs" presets. Let me change that. |
Beta Was this translation helpful? Give feedback.
-
Success!!! https://benotdeceived.org/Bible-Study-Notebook/ THANK YOU so very much for your time!! I VERY MUCH appreciate it!! |
Beta Was this translation helpful? Give feedback.
-
Not sure if you got the email last night. Will add it here, too. I just received notification that the update.yml workflow failed. (update/get-env) I've noticed that the repo's name is doubled in the following links in the error messages in my previous email. Downloading file: update.txt to: /home/runner/work/Bible-Study-Notebook/Bible-Study-Notebook I don't know how to fix this? Thank you so much for your assistance! |
Beta Was this translation helpful? Give feedback.
-
Received the following error message on manually rerunning the action. 0s |
Beta Was this translation helpful? Give feedback.
-
I have created the secret Github Token and re-ran the workflow. It errored out again - saying the Secret Token was missing. Went and confirmed that the Secret was registered. It says the my repository secret was updated 5 minutes ago. Re-ran the workflow a second time, and it still fails for missing secret Github Token. Run actions-js/push@master |
Beta Was this translation helpful? Give feedback.
-
I renamed it to GH_TOKEN, and reran the workflow. Now there is a new error. Run peter-evans/create-pull-request@v4 |
Beta Was this translation helpful? Give feedback.
-
Under "Create pull request" get this error. 0s |
Beta Was this translation helpful? Give feedback.
-
Sorry, I keep forgetting to open each step ... here is where the error is happening ... Checking the base repository state |
Beta Was this translation helpful? Give feedback.
-
Okay. I'm sorry I've caused so many issues. I'll have to look for a different option. THANK YOU for your patience and your assistance. It is still VERY MUCH appreciated. |
Beta Was this translation helpful? Give feedback.
-
THANKS! Will definitely check that out! |
Beta Was this translation helpful? Give feedback.
No, because you set the default folder to
docs/hidden