From 5027237fc6f40477f8bb5e12f902c6b3b2a50ed0 Mon Sep 17 00:00:00 2001 From: themodernhakr Date: Wed, 19 Mar 2025 10:28:05 -0500 Subject: [PATCH] vault backup: 2025-03-19 10:28:04 --- .gitea/workflows/update-pages.yaml | 19 +++++++++++++++++++ .obsidian/workspace.json | 4 +++- index.md | 9 +++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/update-pages.yaml diff --git a/.gitea/workflows/update-pages.yaml b/.gitea/workflows/update-pages.yaml new file mode 100644 index 0000000..38b2a76 --- /dev/null +++ b/.gitea/workflows/update-pages.yaml @@ -0,0 +1,19 @@ +name: Update pages on webserver +on: + push: + branches: [master] +jobs: + build: + name: Update + runs-on: ubuntu-latest + steps: + - name: Updating site pages... + uses: appleboy/ssh-action@v1.2.1 + with: + host: ${{ secrets.HOST }} + username: sadmin + password: ${{ secrets.PASSWORD }} + port: ${{ secrets.PORT }} + script: | + cd /home/sadmin/containers/isuckatcode-quartz/vault + git pull diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 43a93a0..a734f2a 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -14,7 +14,7 @@ "type": "markdown", "state": { "file": "index.md", - "mode": "source", + "mode": "preview", "source": false }, "icon": "lucide-file", @@ -181,6 +181,8 @@ }, "active": "246e3fe4155bbefd", "lastOpenFiles": [ + "-r", + "man", "index.md", "Untitled.md" ] diff --git a/index.md b/index.md index 6e6ec15..24a4f4d 100644 --- a/index.md +++ b/index.md @@ -2,3 +2,12 @@ title: let site = isuckatcode.lol published: "true" --- +```js +// welcome.js +const me = "not a very good dev" +const you = "reading this for some reason" + +class Site { + this.purpose = "exists to help you not suck as much as me" +} +``` \ No newline at end of file