Skip to content

Commit b065b3b

Browse files
committed
Update blog post.
1 parent 6cb7257 commit b065b3b

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Update Ghost Post
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
update-ghost-post:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Install dependencies for Ghost Post Update Action.
16+
run: sudo apt update && sudo apt install -y jq gawk
17+
shell: bash
18+
19+
- uses: gamemann/ghost-post-update-action@v1.0.0
20+
with:
21+
ghost_api_url: ${{ secrets.GHOST_API_URL }}
22+
ghost_admin_api_key: ${{ secrets.GHOST_ADMIN_API_KEY }}
23+
ghost_post_id: ${{ secrets.GHOST_POST_ID }}

.gpua/.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
LINES_SKIP=1,2,3,4,5,6,14,15
2+
DEL_MULTIPLE_HYPHENS_IN_LINKS=1

.gpua/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The [`.env`](./.env) file inside this folder is exposed intentionally :)
2+
3+
It's a part of an open source [GitHub Action](https://github.com/gamemann/ghost-post-update-action) I made that automatically updates the guide's blog contents on the [TMC blog](https://blog.moddingcommunity.com) (Ghost) with the contents in this repository's README.

0 commit comments

Comments
 (0)