Compare commits
No commits in common. "7712bd713d95be387c0f9eab6cbbc939b01c200b" and "09f2396e42396fbeb242f2d250d0b30e2d2c756a" have entirely different histories.
7712bd713d
...
09f2396e42
@ -33,10 +33,8 @@ jobs:
|
||||
- name: Install kubectl
|
||||
run: curl -LO https://dl.k8s.io/release/v1.33.0/bin/linux/arm64/kubectl && chmod +x kubectl && mv kubectl /usr/bin
|
||||
- name: Set up cluster access
|
||||
run: mkdir ~/.kube && echo "${{ secrets.K8S_CONF }}" > ~/.kube/config
|
||||
run: ls -al ~ && mkdir ~/.kube && echo "${{ secrets.K8S_CONF }}" > ~/.kube/config && cat ~/.kube/config
|
||||
- name: Get target pods's name
|
||||
run: echo "TARGET_POD=$(kubectl get pods -n my-stuff -l app=digital-garden -o json | jq -r .items[0].metadata.name)" >> "$GITHUB_ENV"
|
||||
- name: Copy contents to pod temp folder (due to permission issues)
|
||||
run: kubectl cp content my-stuff/$TARGET_POD:/tmp
|
||||
- name: Change permissions and move files to WWW directory
|
||||
run: kubectl exec -i -n my-stuff $TARGET_POD -- bash -c "chown -R 1000:1000 /tmp/content && rm -rf /www/data/* && mv /tmp/content/* /www/data"
|
||||
run: echo "TARGET_POD=$(kubectl get pods -n my-stuff -l app=digital-garden -o json | jq -r .items[0].metadata.name)" >> "$GITHBU_ENV"
|
||||
- name: Copy contents to PVC
|
||||
run: kubectl cp content my-stuff/$TARGET_POD:/www/data/
|
||||
|
1
.obsidian/app.json
vendored
1
.obsidian/app.json
vendored
@ -1 +0,0 @@
|
||||
{}
|
1
.obsidian/appearance.json
vendored
1
.obsidian/appearance.json
vendored
@ -1 +0,0 @@
|
||||
{}
|
31
.obsidian/core-plugins.json
vendored
31
.obsidian/core-plugins.json
vendored
@ -1,31 +0,0 @@
|
||||
{
|
||||
"file-explorer": true,
|
||||
"global-search": true,
|
||||
"switcher": true,
|
||||
"graph": true,
|
||||
"backlink": true,
|
||||
"canvas": true,
|
||||
"outgoing-link": true,
|
||||
"tag-pane": true,
|
||||
"properties": false,
|
||||
"page-preview": true,
|
||||
"daily-notes": true,
|
||||
"templates": true,
|
||||
"note-composer": true,
|
||||
"command-palette": true,
|
||||
"slash-command": false,
|
||||
"editor-status": true,
|
||||
"bookmarks": true,
|
||||
"markdown-importer": false,
|
||||
"zk-prefixer": false,
|
||||
"random-note": false,
|
||||
"outline": true,
|
||||
"word-count": true,
|
||||
"slides": false,
|
||||
"audio-recorder": false,
|
||||
"workspaces": false,
|
||||
"file-recovery": true,
|
||||
"publish": false,
|
||||
"sync": true,
|
||||
"webviewer": false
|
||||
}
|
177
.obsidian/workspace.json
vendored
177
.obsidian/workspace.json
vendored
@ -1,177 +0,0 @@
|
||||
{
|
||||
"main": {
|
||||
"id": "69b48d20eddd5d27",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "754e76e341556800",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "a7a84c356653d530",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "notes/index.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "index"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
},
|
||||
"left": {
|
||||
"id": "371e529f0bd09bef",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "aa6ce42d2ba4c6d9",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "24693a4da486c556",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-explorer",
|
||||
"state": {
|
||||
"sortOrder": "alphabetical",
|
||||
"autoReveal": false
|
||||
},
|
||||
"icon": "lucide-folder-closed",
|
||||
"title": "Files"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0de12dda217872ec",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "",
|
||||
"matchingCase": false,
|
||||
"explainSearch": false,
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical"
|
||||
},
|
||||
"icon": "lucide-search",
|
||||
"title": "Search"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "761be25a753c2b9f",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "bookmarks",
|
||||
"state": {},
|
||||
"icon": "lucide-bookmark",
|
||||
"title": "Bookmarks"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300
|
||||
},
|
||||
"right": {
|
||||
"id": "0b7622c040c7528e",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "03c6b66733d3f1bf",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "98ba5c9bbb9fcca1",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "notes/index.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": false,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-coming-in",
|
||||
"title": "Backlinks for index"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "14a7943d9d272e96",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "notes/index.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-going-out",
|
||||
"title": "Outgoing links from index"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "c93bb8473637a3d3",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "tag",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"useHierarchy": true,
|
||||
"showSearch": false,
|
||||
"searchQuery": ""
|
||||
},
|
||||
"icon": "lucide-tags",
|
||||
"title": "Tags"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "50ded0e5f80093cd",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "notes/index.md",
|
||||
"followCursor": false,
|
||||
"showSearch": false,
|
||||
"searchQuery": ""
|
||||
},
|
||||
"icon": "lucide-list",
|
||||
"title": "Outline of index"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300,
|
||||
"collapsed": true
|
||||
},
|
||||
"left-ribbon": {
|
||||
"hiddenItems": {
|
||||
"switcher:Open quick switcher": false,
|
||||
"graph:Open graph view": false,
|
||||
"canvas:Create new canvas": false,
|
||||
"daily-notes:Open today's daily note": false,
|
||||
"templates:Insert template": false,
|
||||
"command-palette:Open command palette": false
|
||||
}
|
||||
},
|
||||
"active": "a7a84c356653d530",
|
||||
"lastOpenFiles": [
|
||||
"here.md",
|
||||
"notes/index.md",
|
||||
"notes/0000-how-this-was-built.md"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
---
|
||||
title: Building this digital garden
|
||||
tags:
|
||||
- how-to
|
||||
- cicd
|
||||
---
|
@ -1,7 +1,10 @@
|
||||
---
|
||||
title: Hi there! You've stumbled upon a construction site...
|
||||
title: Example Title
|
||||
draft: false
|
||||
tags:
|
||||
- home-page
|
||||
- example-tag
|
||||
---
|
||||
Bear with me, things are still getting sorted in the background. Have a look [[0000-how-this-was-built|here]] for a brief description of how this digital garden was built!
|
||||
|
||||
1st note
|
||||
|
||||
The rest of your content lives here. You can use **Markdown** here :)
|
||||
|
5
notes/note.md
Normal file
5
notes/note.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: 1st note
|
||||
---
|
||||
|
||||
The **1st** note!
|
Loading…
Reference in New Issue
Block a user