Skip to content

Commit

Permalink
rebuild and commit the categories when building the website
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoostenveld committed Sep 25, 2024
1 parent 18d2bd9 commit cf5cb35
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ _scripts/tags.sh
$GIT add _data/tag/*.yml
$GIT add tag/*.md
$GIT commit -m "updated tags" _data/tag tag > /dev/null 2>&1

# update the categories, this uses a bash script
_scripts/categories.sh
$GIT add _data/category/*.yml
$GIT add category/*.md
$GIT commit -m "updated categories" _data/category category > /dev/null 2>&1

# push the updates back to the repository
$GIT push > /dev/null 2>&1

Expand Down

0 comments on commit cf5cb35

Please sign in to comment.