This commit is contained in:
@@ -22,13 +22,13 @@ jobs:
|
||||
runs-on: org-web
|
||||
|
||||
env:
|
||||
SITE_OUTPUT_DIR: /home/zaine/master-folder/org_files/org_web/output
|
||||
SITE_OUTPUT_DIR: /home/zaine/master-folder/org-platform/org_web/output
|
||||
|
||||
steps:
|
||||
- name: Commit hidden details files on scheduled/manual run
|
||||
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
|
||||
run: |
|
||||
cd /home/zaine/master-folder/org_files/org_web
|
||||
cd /home/zaine/master-folder/org-platform/org_web
|
||||
|
||||
git switch main
|
||||
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
|
||||
- name: Build site
|
||||
run: |
|
||||
cd /home/zaine/master-folder/org_files/org_web
|
||||
cd /home/zaine/master-folder/org-platform/org_web
|
||||
mkdir -p /home/zaine/logs
|
||||
SITE_CLEAN=1 make 2>&1 | tee /home/zaine/logs/org-web.log
|
||||
|
||||
@@ -56,5 +56,5 @@ jobs:
|
||||
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||
API_KEY: ${{ secrets.API_KEY }}
|
||||
run: |
|
||||
cd /home/zaine/master-folder/org_files/org_web
|
||||
cd /home/zaine/master-folder/org-platform/org_web
|
||||
/snap/bin/pwsh -NoProfile -File ./gitea-build-monitor.ps1
|
||||
2
Makefile
2
Makefile
@@ -6,7 +6,7 @@ PIP := $(VENV)/bin/pip
|
||||
OUTPUT_DIR ?= $(if $(SITE_OUTPUT_DIR),$(SITE_OUTPUT_DIR),output)
|
||||
PERM_DIR := /home/zaine/master-folder/projects/scripts/bash-scripts
|
||||
|
||||
AUTHOR_SERVICE_DIR := /home/zaine/master-folder/projects/authoring-service
|
||||
AUTHOR_SERVICE_DIR := /home/zaine/master-folder/org-platform/authoring-service
|
||||
|
||||
all: set-perms clean-output build search clean-venv
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ The site is written using Emacs and Org-mode, and exported using the `org-publis
|
||||
|
||||
## Local authoring UI
|
||||
|
||||
The authoring UI now lives in `/home/zaine/master-folder/projects/authoring-service`.
|
||||
The authoring UI now lives in `/home/zaine/master-folder/org-platform/authoring-service`.
|
||||
|
||||
Run `make author` from either repository to install and start the user systemd service, then open `http://127.0.0.1:8765` to create or edit blog and post Org files from a browser. When deployed behind the reverse proxy, use `https://author.zainezq.com`.
|
||||
|
||||
|
||||
@@ -278,3 +278,22 @@
|
||||
2026-06-02T09:49:21.9793031+01:00 [INFO] Running authoring server tests with /home/zaine/master-folder/projects/authoring-service/.venv/bin/python.
|
||||
2026-06-02T09:49:22.0648553+01:00 [INFO] Authoring server tests passed: ran=0, failures=0, errors=0, skipped=0, exit=0
|
||||
2026-06-02T09:49:22.3736927+01:00 [INFO] Sent authoring server test notification.
|
||||
2026-06-02T09:56:51.3475383+01:00 [INFO] Prepared current build status for zaine/org_web: severity=Info, status=success
|
||||
2026-06-02T09:56:51.3582668+01:00 [INFO] Fetching recent Gitea Actions runs for zaine/org_web.
|
||||
2026-06-02T09:56:51.7720404+01:00 [ERROR] Failed to analyze job 387: Cannot bind argument to parameter 'LogText' because it is an empty string.
|
||||
2026-06-02T09:56:52.3324901+01:00 [INFO] Sent build status notification with 1 embed(s).
|
||||
2026-06-02T09:56:52.3576956+01:00 [INFO] Running authoring server tests with /home/zaine/master-folder/projects/authoring-service/.venv/bin/python.
|
||||
2026-06-02T09:56:52.4325299+01:00 [INFO] Authoring server tests passed: ran=0, failures=0, errors=0, skipped=0, exit=0
|
||||
2026-06-02T09:56:52.7025822+01:00 [INFO] Sent authoring server test notification.
|
||||
2026-06-03T01:01:31.3390834+01:00 [INFO] Prepared current build status for zaine/org_web: severity=Info, status=success
|
||||
2026-06-03T01:01:31.3479616+01:00 [INFO] Fetching recent Gitea Actions runs for zaine/org_web.
|
||||
2026-06-03T01:01:32.3971585+01:00 [INFO] Sent build status notification with 1 embed(s).
|
||||
2026-06-03T01:01:32.4181227+01:00 [INFO] Running authoring server tests with /home/zaine/master-folder/projects/authoring-service/.venv/bin/python.
|
||||
2026-06-03T01:01:32.4988861+01:00 [INFO] Authoring server tests passed: ran=0, failures=0, errors=0, skipped=0, exit=0
|
||||
2026-06-03T01:01:32.8231671+01:00 [INFO] Sent authoring server test notification.
|
||||
2026-06-04T01:01:57.4575329+01:00 [INFO] Prepared current build status for zaine/org_web: severity=Info, status=success
|
||||
2026-06-04T01:01:57.4658607+01:00 [INFO] Fetching recent Gitea Actions runs for zaine/org_web.
|
||||
2026-06-04T01:01:58.6994049+01:00 [INFO] Sent build status notification with 1 embed(s).
|
||||
2026-06-04T01:01:58.7258829+01:00 [INFO] Running authoring server tests with /home/zaine/master-folder/projects/authoring-service/.venv/bin/python.
|
||||
2026-06-04T01:01:58.8178400+01:00 [INFO] Authoring server tests passed: ran=0, failures=0, errors=0, skipped=0, exit=0
|
||||
2026-06-04T01:01:59.2561534+01:00 [INFO] Sent authoring server test notification.
|
||||
|
||||
@@ -60,9 +60,9 @@ $Config = @{
|
||||
RetryCount = 3
|
||||
RetryDelaySeconds = 2
|
||||
AuthoringTestsEnabled = $true
|
||||
AuthoringServiceDirectory = '/home/zaine/master-folder/projects/authoring-service'
|
||||
AuthoringServiceDirectory = '/home/zaine/master-folder/org-platform/authoring-service'
|
||||
AuthoringTestsPattern = 'test_authoring_server.py'
|
||||
AuthoringTestsDirectory = '/home/zaine/master-folder/projects/authoring-service/tests'
|
||||
AuthoringTestsDirectory = '/home/zaine/master-folder/org-platform/authoring-service/tests'
|
||||
AuthoringTestTimeoutSec = 120
|
||||
|
||||
# Tune these patterns to your build tooling.
|
||||
|
||||
@@ -37,7 +37,7 @@ The script is as follows, at the start I have some metadata relating to the file
|
||||
|
||||
(require 'package)
|
||||
|
||||
(add-to-list 'load-path "~/master-folder/org_files/org_web/lisp/")
|
||||
(add-to-list 'load-path "~/master-folder/org-platform/org_web/lisp/")
|
||||
|
||||
(require 'recently-updated)
|
||||
(require 'tags)
|
||||
@@ -59,7 +59,7 @@ The script is as follows, at the start I have some metadata relating to the file
|
||||
(package-refresh-contents))
|
||||
|
||||
(package-install 'htmlize)
|
||||
(add-to-list 'load-path "~/master-folder/org_files/org_web/")
|
||||
(add-to-list 'load-path "~/master-folder/org-platform/org_web/")
|
||||
(require 'htmlize)
|
||||
|
||||
(defvar z-shared-head
|
||||
@@ -234,9 +234,9 @@ The script is as follows, at the start I have some metadata relating to the file
|
||||
(setq org-publish-project-alist
|
||||
`(("org-main"
|
||||
:recursive t
|
||||
:base-directory "~/master-folder/org_files/org_web/"
|
||||
:base-directory "~/master-folder/org-platform/org_web/"
|
||||
:publishing-function z/z-publish-to-html
|
||||
:publishing-directory "~/master-folder/org_files/org_web/output"
|
||||
:publishing-directory "~/master-folder/org-platform/org_web/output"
|
||||
:base-extension "org"
|
||||
:auto-sitemap t
|
||||
:sitemap-filename "sitemap.org"
|
||||
@@ -250,8 +250,8 @@ The script is as follows, at the start I have some metadata relating to the file
|
||||
|
||||
("org-categories-sitemap"
|
||||
:recursive t
|
||||
:base-directory "~/master-folder/org_files/org_web/home"
|
||||
:publishing-directory "~/master-folder/org_files/org_web/output/home"
|
||||
:base-directory "~/master-folder/org-platform/org_web/home"
|
||||
:publishing-directory "~/master-folder/org-platform/org_web/output/home"
|
||||
:base-extension "org"
|
||||
:auto-sitemap t
|
||||
:sitemap-filename "categories.org"
|
||||
@@ -262,8 +262,8 @@ The script is as follows, at the start I have some metadata relating to the file
|
||||
:html-head ,z-shared-head
|
||||
)
|
||||
("org-posts"
|
||||
:base-directory "~/master-folder/org_files/org_web/posts"
|
||||
:publishing-directory "~/master-folder/org_files/org_web/output/posts/"
|
||||
:base-directory "~/master-folder/org-platform/org_web/posts"
|
||||
:publishing-directory "~/master-folder/org-platform/org_web/output/posts/"
|
||||
:recursive t
|
||||
:base-extension "org"
|
||||
:publishing-function z/z-publish-to-html
|
||||
@@ -283,8 +283,8 @@ The script is as follows, at the start I have some metadata relating to the file
|
||||
:html-head ,z-shared-head
|
||||
)
|
||||
("org-blogs"
|
||||
:base-directory "~/master-folder/org_files/org_web/blogs"
|
||||
:publishing-directory "~/master-folder/org_files/org_web/output/blogs/"
|
||||
:base-directory "~/master-folder/org-platform/org_web/blogs"
|
||||
:publishing-directory "~/master-folder/org-platform/org_web/output/blogs/"
|
||||
:recursive t
|
||||
:base-extension "org"
|
||||
:publishing-function z/z-publish-to-html
|
||||
@@ -302,8 +302,8 @@ The script is as follows, at the start I have some metadata relating to the file
|
||||
:html-head ,z-shared-head
|
||||
)
|
||||
("org-books"
|
||||
:base-directory "~/master-folder/org_files/org_web/books/"
|
||||
:publishing-directory "~/master-folder/org_files/org_web/output/books/"
|
||||
:base-directory "~/master-folder/org-platform/org_web/books/"
|
||||
:publishing-directory "~/master-folder/org-platform/org_web/output/books/"
|
||||
:recursive t
|
||||
:base-extension "org"
|
||||
:publishing-function z/z-publish-to-html
|
||||
@@ -321,8 +321,8 @@ The script is as follows, at the start I have some metadata relating to the file
|
||||
:html-head ,z-shared-head
|
||||
)
|
||||
("org-2025"
|
||||
:base-directory "~/master-folder/org_files/org_web/blogs/2025/"
|
||||
:publishing-directory "~/master-folder/org_files/org_web/output/blogs/2025/"
|
||||
:base-directory "~/master-folder/org-platform/org_web/blogs/2025/"
|
||||
:publishing-directory "~/master-folder/org-platform/org_web/output/blogs/2025/"
|
||||
:recursive t
|
||||
:base-extension "org"
|
||||
:publishing-function z/z-publish-to-html
|
||||
@@ -340,8 +340,8 @@ The script is as follows, at the start I have some metadata relating to the file
|
||||
:html-head ,z-shared-head
|
||||
)
|
||||
("org-career"
|
||||
:base-directory "~/master-folder/org_files/org_web/posts/career/"
|
||||
:publishing-directory "~/master-folder/org_files/org_web/output/posts/career/"
|
||||
:base-directory "~/master-folder/org-platform/org_web/posts/career/"
|
||||
:publishing-directory "~/master-folder/org-platform/org_web/output/posts/career/"
|
||||
:recursive t
|
||||
:base-extension "org"
|
||||
:publishing-function z/z-publish-to-html
|
||||
@@ -359,8 +359,8 @@ The script is as follows, at the start I have some metadata relating to the file
|
||||
:html-head ,z-shared-head
|
||||
)
|
||||
("wip-pages"
|
||||
:base-directory "~/master-folder/org_files/org_web/"
|
||||
:publishing-directory "~/master-folder/org_files/org_web/output/"
|
||||
:base-directory "~/master-folder/org-platform/org_web/"
|
||||
:publishing-directory "~/master-folder/org-platform/org_web/output/"
|
||||
:recursive t
|
||||
:base-extension "org"
|
||||
:publishing-function z/z-publish-to-html
|
||||
@@ -378,8 +378,8 @@ The script is as follows, at the start I have some metadata relating to the file
|
||||
:html-head ,z-shared-head
|
||||
)
|
||||
("org-tags"
|
||||
:base-directory "~/master-folder/org_files/org_web/tags"
|
||||
:publishing-directory "~/master-folder/org_files/org_web/output/tags"
|
||||
:base-directory "~/master-folder/org-platform/org_web/tags"
|
||||
:publishing-directory "~/master-folder/org-platform/org_web/output/tags"
|
||||
:recursive t
|
||||
:base-extension "org"
|
||||
:publishing-function org-html-publish-to-html
|
||||
@@ -389,16 +389,16 @@ The script is as follows, at the start I have some metadata relating to the file
|
||||
:html-postamble ,z-postamble
|
||||
:html-head ,z-shared-head)
|
||||
("org-assets"
|
||||
:base-directory "~/master-folder/org_files/org_web/assets/"
|
||||
:base-directory "~/master-folder/org-platform/org_web/assets/"
|
||||
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|svg\\|pdf\\|woff\\|woff2\\|ttf"
|
||||
:publishing-directory "~/master-folder/org_files/org_web/output/assets/"
|
||||
:publishing-directory "~/master-folder/org-platform/org_web/output/assets/"
|
||||
:recursive t
|
||||
:publishing-function org-publish-attachment)
|
||||
))
|
||||
|
||||
|
||||
(delete-directory "~/master-folder/org_files/org_web/output/" t)
|
||||
(delete-directory "~/master-folder/org_files/org_web/tags/" t)
|
||||
(delete-directory "~/master-folder/org-platform/org_web/output/" t)
|
||||
(delete-directory "~/master-folder/org-platform/org_web/tags/" t)
|
||||
(message "Directory deleted")
|
||||
|
||||
(z/write-tag-pages)
|
||||
@@ -421,7 +421,7 @@ As the project is hosted on Github, I have created a small script that is able t
|
||||
set -e
|
||||
|
||||
# Define paths
|
||||
ORG_OUTPUT_DIR="$HOME/master-folder/org_files/org_web/output"
|
||||
ORG_OUTPUT_DIR="$HOME/master-folder/org-platform/org_web/output"
|
||||
|
||||
cd "$ORG_OUTPUT_DIR"
|
||||
|
||||
|
||||
1285
org-web-build.log
1285
org-web-build.log
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@
|
||||
See the categories: @@html:<a href="../home/categories.html">Categories</a>@@
|
||||
|
||||
* Posts:
|
||||
- [[file:career/career-list.org][Career List]] @@html:<span class="post-date">02-06-2026 01:01</span>@@
|
||||
- [[file:career/career-list.org][Career List]] @@html:<span class="post-date">04-06-2026 14:07</span>@@
|
||||
- [[file:career/cross-site-scripting-xss.org][Cross-Site Scripting (XSS)]] @@html:<span class="post-date">01-06-2026 10:21</span>@@ @@html:<a href="/tags/learning.html"><span class="post-tag">learning</span></a>@@ @@html:<a href="/tags/notes.html"><span class="post-tag">notes</span></a>@@
|
||||
- [[file:career/ha-dr.org][High Availability, Disaster Recovery and Business Continuity]] @@html:<span class="post-date">11-03-2026 17:18</span>@@ @@html:<a href="/tags/learning.html"><span class="post-tag">learning</span></a>@@ @@html:<a href="/tags/notes.html"><span class="post-tag">notes</span></a>@@
|
||||
- [[file:career/javascript.org][Understands the Javascript language]] @@html:<span class="post-date">11-03-2026 16:52</span>@@ @@html:<a href="/tags/learning.html"><span class="post-tag">learning</span></a>@@ @@html:<a href="/tags/notes.html"><span class="post-tag">notes</span></a>@@
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
set -e
|
||||
|
||||
# Define paths
|
||||
ORG_OUTPUT_DIR="$HOME/master-folder/org_files/org_web/output"
|
||||
ORG_OUTPUT_DIR="$HOME/master-folder/org-platform/org_web/output"
|
||||
|
||||
cd "$ORG_OUTPUT_DIR"
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#+OPTIONS: toc:nil num:nil
|
||||
|
||||
* Recently Updated (top 26 files)
|
||||
- [[file:home/guide/setup.org][Setup]] @@html:<span class="post-date">2026-06-04 12:54</span>@@
|
||||
- [[file:posts/career/cross-site-scripting-xss.org][Cross-Site Scripting (XSS)]] @@html:<span class="post-date">2026-06-01 10:21</span>@@
|
||||
- [[file:blogs/2026/05-may/31-05-week-review.org][[31-05-2026] - Weekly Review]] @@html:<span class="post-date">2026-05-31 12:00</span>@@
|
||||
- [[file:blogs/2026/05-may/working-on-eid-day-27-05-26.org][Working on Eid day]] @@html:<span class="post-date">2026-05-27 16:02</span>@@
|
||||
@@ -21,7 +22,6 @@
|
||||
- [[file:home/hidden-soul.org][hidden-soul]] @@html:<span class="post-date">2026-05-11 16:07</span>@@
|
||||
- [[file:home/contact.org][Contact]] @@html:<span class="post-date">2026-05-11 16:07</span>@@
|
||||
- [[file:home/guide/wird-tracker-guide.org][Wird Tracker — Technical Guide]] @@html:<span class="post-date">2026-05-11 16:07</span>@@
|
||||
- [[file:home/guide/setup.org][Setup]] @@html:<span class="post-date">2026-05-11 16:07</span>@@
|
||||
- [[file:blogs/2026/05-may/10-05-week-review.org][[10-05-2026] - Weekly Review]] @@html:<span class="post-date">2026-05-10 12:00</span>@@
|
||||
- [[file:blogs/2026/05-may/authoring-service-09-05-26.org][Authoring Service]] @@html:<span class="post-date">2026-05-09 17:49</span>@@
|
||||
- [[file:play.org][Play]] @@html:<span class="post-date">2026-05-09 00:00</span>@@
|
||||
|
||||
34
sitemap.org
34
sitemap.org
@@ -50,9 +50,9 @@ flowchart TD
|
||||
n13 --> n22
|
||||
n23{{"guide"}}
|
||||
n13 --> n23
|
||||
n24["Setup"]
|
||||
n24["Wird Tracker — Technical Guide"]
|
||||
n23 --> n24
|
||||
n25["Wird Tracker — Technical Guide"]
|
||||
n25["Setup"]
|
||||
n23 --> n25
|
||||
n26{{"lima"}}
|
||||
root --> n26
|
||||
@@ -74,15 +74,15 @@ flowchart TD
|
||||
n28 --> n34
|
||||
n35["Tag: website"]
|
||||
n28 --> n35
|
||||
n36["Tag: update"]
|
||||
n36["Tag: life"]
|
||||
n28 --> n36
|
||||
n37["Tag: insights"]
|
||||
n37["Tag: education"]
|
||||
n28 --> n37
|
||||
n38["Tag: life"]
|
||||
n38["Tag: update"]
|
||||
n28 --> n38
|
||||
n39["Tag: emacs"]
|
||||
n39["Tag: insights"]
|
||||
n28 --> n39
|
||||
n40["Tag: education"]
|
||||
n40["Tag: emacs"]
|
||||
n28 --> n40
|
||||
n41["Tag: reading"]
|
||||
n28 --> n41
|
||||
@@ -180,8 +180,8 @@ flowchart TD
|
||||
click n20 "home/services.html" "Service"
|
||||
click n21 "home/notes.html" "Notes"
|
||||
click n22 "home/categories.html" "Categories"
|
||||
click n24 "home/guide/setup.html" "Setup"
|
||||
click n25 "home/guide/wird-tracker-guide.html" "Wird Tracker — Technical Guide"
|
||||
click n24 "home/guide/wird-tracker-guide.html" "Wird Tracker — Technical Guide"
|
||||
click n25 "home/guide/setup.html" "Setup"
|
||||
click n27 "lima/lima-list.html" "Lima"
|
||||
click n29 "tags/review.sync-conflict-20260328-203248-VT6366A.html" "Tag: review"
|
||||
click n30 "tags/life.sync-conflict-20260417-233423-VT6366A.html" "Tag: life"
|
||||
@@ -190,11 +190,11 @@ flowchart TD
|
||||
click n33 "tags/notes.html" "Tag: notes"
|
||||
click n34 "tags/review.html" "Tag: review"
|
||||
click n35 "tags/website.html" "Tag: website"
|
||||
click n36 "tags/update.html" "Tag: update"
|
||||
click n37 "tags/insights.html" "Tag: insights"
|
||||
click n38 "tags/life.html" "Tag: life"
|
||||
click n39 "tags/emacs.html" "Tag: emacs"
|
||||
click n40 "tags/education.html" "Tag: education"
|
||||
click n36 "tags/life.html" "Tag: life"
|
||||
click n37 "tags/education.html" "Tag: education"
|
||||
click n38 "tags/update.html" "Tag: update"
|
||||
click n39 "tags/insights.html" "Tag: insights"
|
||||
click n40 "tags/emacs.html" "Tag: emacs"
|
||||
click n41 "tags/reading.html" "Tag: reading"
|
||||
click n42 "tags/maths.html" "Tag: maths"
|
||||
click n44 "posts/posts-intro.html" "Posts Introduction"
|
||||
@@ -257,8 +257,8 @@ flowchart TD
|
||||
- [[file:home/notes.org][Notes]]
|
||||
- [[file:home/categories.org][Categories]]
|
||||
- guide
|
||||
- [[file:home/guide/setup.org][Setup]]
|
||||
- [[file:home/guide/wird-tracker-guide.org][Wird Tracker — Technical Guide]]
|
||||
- [[file:home/guide/setup.org][Setup]]
|
||||
- lima
|
||||
- [[file:lima/lima-list.org][Lima]]
|
||||
- tags
|
||||
@@ -269,11 +269,11 @@ flowchart TD
|
||||
- [[file:tags/notes.org][Tag: notes]]
|
||||
- [[file:tags/review.org][Tag: review]]
|
||||
- [[file:tags/website.org][Tag: website]]
|
||||
- [[file:tags/life.org][Tag: life]]
|
||||
- [[file:tags/education.org][Tag: education]]
|
||||
- [[file:tags/update.org][Tag: update]]
|
||||
- [[file:tags/insights.org][Tag: insights]]
|
||||
- [[file:tags/life.org][Tag: life]]
|
||||
- [[file:tags/emacs.org][Tag: emacs]]
|
||||
- [[file:tags/education.org][Tag: education]]
|
||||
- [[file:tags/reading.org][Tag: reading]]
|
||||
- [[file:tags/maths.org][Tag: maths]]
|
||||
- posts
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# run a single command once per save in a subfolder
|
||||
|
||||
WATCH="/home/zaine/master-folder/org_files/org_web/lima" # subfolder to watch
|
||||
RUN_IN="/home/zaine/master-folder/org_files/org_web" # run command from here
|
||||
WATCH="/home/zaine/master-folder/org-platform/org_web/lima" # subfolder to watch
|
||||
RUN_IN="/home/zaine/master-folder/org-platform/org_web" # run command from here
|
||||
|
||||
# pass the command to run as args:
|
||||
# ./watch.sh emacs -Q --script build-site.el
|
||||
|
||||
Reference in New Issue
Block a user