Auto-update blog content from Obsidian: 2025-05-03 21:06:42

This commit is contained in:
Gitea Actions 2025-05-03 21:06:42 +00:00
parent f882b70943
commit db785c9894
5 changed files with 6 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -82,17 +82,17 @@ container:
``` ```
The runner appears in the `Administration Area`, under `Actions`>`Runners`. To obtain the registration token, click on the `Create new Runner` button The runner appears in the `Administration Area`, under `Actions`>`Runners`. To obtain the registration token, click on the `Create new Runner` button
![[Pasted image 20250502230954.png]] ![Pasted_image_20250502230954.png](Images/Pasted_image_20250502230954.png)
### Step 3: Set up Gitea Actions for Obsidian Repository ### Step 3: Set up Gitea Actions for Obsidian Repository
First I enabled the Gitea Actions, this is disabled by default, tick the box `Enable Repository Actions` in the settings for that repository First I enabled the Gitea Actions, this is disabled by default, tick the box `Enable Repository Actions` in the settings for that repository
I created a new PAT (Personal Access Token) with RW permission on the repositories I created a new PAT (Personal Access Token) with RW permission on the repositories
![[Pasted image 20250501235521.png]] ![Pasted_image_20250501235521.png](Images/Pasted_image_20250501235521.png)
I added this token as secret `REPO_TOKEN` in the repository I added this token as secret `REPO_TOKEN` in the repository
![[Pasted image 20250501235427.png]] ![Pasted_image_20250501235427.png](Images/Pasted_image_20250501235427.png)
I needed to create the workflow that will spin-up a container and do the following: I needed to create the workflow that will spin-up a container and do the following:
- When I push new/updated files in the `Blog` folder - When I push new/updated files in the `Blog` folder

View File

@ -22,6 +22,9 @@ I like :
- Kiwi - Kiwi
- Pizza - Pizza
- Automation - Automation
- Cats
- Tomatoes
- Fish
--- ---