diff --git a/publish/attachments/publish-dir-yml.png b/publish/attachments/publish-dir-yml.png new file mode 100644 index 0000000..53c5e54 Binary files /dev/null and b/publish/attachments/publish-dir-yml.png differ diff --git a/publish/connect-obsidian-vault-with-github.md b/publish/connect-obsidian-vault-with-github.md index ea05ebd..4a934d9 100644 --- a/publish/connect-obsidian-vault-with-github.md +++ b/publish/connect-obsidian-vault-with-github.md @@ -1,5 +1,5 @@ --- -title: "How to setup your Github repository with Obsidian" +title: "How to connect Obsidian Vault with Github" --- 1. Clone the repository or "Download As Zip" ![[clone-or-download-github.png]] diff --git a/publish/deploy-a-custom-linked-blog-starter.md b/publish/deploy-a-custom-linked-blog-starter.md new file mode 100644 index 0000000..2ec9f01 --- /dev/null +++ b/publish/deploy-a-custom-linked-blog-starter.md @@ -0,0 +1 @@ +The good thing about separating the script is that the blog starter can easily be \ No newline at end of file diff --git a/publish/deploy-obsidian-notes-with-linked-blog-starter-and-github-actions.md b/publish/deploy-obsidian-notes-with-linked-blog-starter-and-github-actions.md index c134efb..7a4eae9 100644 --- a/publish/deploy-obsidian-notes-with-linked-blog-starter-and-github-actions.md +++ b/publish/deploy-obsidian-notes-with-linked-blog-starter-and-github-actions.md @@ -17,4 +17,8 @@ By the end of this tutorial, you'll have a github repository that will automatic 9. Finally, click "Actions", and enable the workflow ![[enable-actions-github.png]] 10. Now whenever any notes are uploaded to the `publish` directory of the repository, they are automatically published online! You can find the domain in Vercel under `Projects`. -11. See [[connect-obsidian-vault-with-github]] \ No newline at end of file + +Additional Readings +- [[connect-obsidian-vault-with-github|How to connect Obsidian with Github]] +- [[update-publish-settings-github-actions|Updating the publish settings]] +- [[deploy-a-custom-linked-blog-starter]] \ No newline at end of file diff --git a/get-project-id-account-id-and-token-vercel.md b/publish/get-project-id-account-id-and-token-vercel.md similarity index 100% rename from get-project-id-account-id-and-token-vercel.md rename to publish/get-project-id-account-id-and-token-vercel.md diff --git a/publish/README.md b/publish/home.md similarity index 99% rename from publish/README.md rename to publish/home.md index ad6186c..e9c7f90 100644 --- a/publish/README.md +++ b/publish/home.md @@ -1,3 +1,6 @@ +--- +title: "Home" +--- # Host your second brain with Next.JS This repository is a modified version of the [blog-starter](https://github.com/vercel/next.js/tree/canary/examples/blog-starter) provided by Next.JS. Below are some added features of the [linked-blog-starter](https://github.com/matthewwong525/linked-blog-starter): diff --git a/publish/update-publish-settings-github-actions.md b/publish/update-publish-settings-github-actions.md new file mode 100644 index 0000000..98d20a8 --- /dev/null +++ b/publish/update-publish-settings-github-actions.md @@ -0,0 +1,10 @@ +--- +title: "Update the Publish Settings" +--- +There are two things you can modify in the workflow. The publish directory and the blog repository. + +- `BLOG_REPO`: Next.JS app repository template that is used to publish your markdown notes. This is useful when you [[customize-linked-blog-starter|create your own custom linked blog]] +- `PUBLISH_DIR`: The folder that is published to the linked blog. All files and attachments in this folder will be published on the web + +Go into `.github/workflows/publish.yml` in your forked repository forked from [linked-blog-starter-md](https://github.com/matthewwong525/linked-blog-starter-md) and update the environment variables to your desire +![[publish-dir-yml.png]] \ No newline at end of file