vault backup: 2022-12-11 22:27:30

This commit is contained in:
Matthew Wong 2022-12-11 22:27:30 -05:00
parent 43b5c0222b
commit 4909e838ea
7 changed files with 20 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

View File

@ -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]]

View File

@ -0,0 +1 @@
The good thing about separating the script is that the blog starter can easily be

View File

@ -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]]
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]]

View File

@ -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):

View File

@ -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]]