From 66320740986481847d595c9c7f49d407549faf04 Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Mon, 9 Sep 2024 14:58:05 -0300 Subject: [PATCH 1/2] Update schedule-posts.txt --- .github/workflows/schedule-posts.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/schedule-posts.txt b/.github/workflows/schedule-posts.txt index 85ab14423907..fff22196f070 100644 --- a/.github/workflows/schedule-posts.txt +++ b/.github/workflows/schedule-posts.txt @@ -19,7 +19,7 @@ jobs: id: date run: echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV - - name: Check for drafts and move to posts + - name: Check for scheduled posts and move to posts run: | echo "Today is $TODAY" shopt -s nullglob From 7203eb161c4ed16cac0b4001a05124e28e9bcdd4 Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Mon, 9 Sep 2024 15:03:17 -0300 Subject: [PATCH 2/2] Update CUSTOMIZE.md scheduled info --- CUSTOMIZE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CUSTOMIZE.md b/CUSTOMIZE.md index ad8d359c578b..90f9c30a625b 100644 --- a/CUSTOMIZE.md +++ b/CUSTOMIZE.md @@ -172,7 +172,7 @@ You can customize the fonts, spacing, and more by editing [\_sass/\_base.scss](_ ## Scheduled Posts -al-folio contains a workflow which automatically publishes all posts scheduled at a specific day, at the end of the day (23:30). By default the action is disabled, and to enable it you need to go to `.github/workflows/` and find the file called `schedule-posts.txt`. This is the workflow file. For GitHub to recognize it as one (or to enable the action), you need to rename it to `schedule-posts.yml`. +`al-folio` contains a workflow which automatically publishes all posts scheduled at a specific day, at the end of the day (23:30). By default the action is disabled, and to enable it you need to go to `.github/workflows/` and find the file called `schedule-posts.txt`. This is the workflow file. For GitHub to recognize it as one (or to enable the action), you need to rename it to `schedule-posts.yml`. In order to use this you need to save all of your "Completed" blog posts which are scheduled to be uploaded on a specific date, in a folder named `_scheduled/` in the root directory. @@ -182,9 +182,9 @@ In order to use this you need to save all of your "Completed" blog posts which a In this folder you need to store your file in the same format as you would in `_posts/` -example file: `2024-08-26-This file will be uploaded on 26 August.md` +> Example file name: `2024-08-26-This file will be uploaded on 26 August.md` -### Important Notes: +### Important Notes - The scheduler uploads posts everyday at 🕛 23:30 UTC - It will only upload posts at 23:30 UTC of their respective scheduled days, It's not uploaded in 23:59 in case there are a lot of files as the scheduler must finish before 00:00