Skip to content

YusukeKato/YusukeKatoBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YusukeKatoBlog

License

How to update blog

Workflows

  1. Write articles (ex: markdown/2024/0403.md)
  2. Resize images
  3. Update remote repository

Automatically deployed with GitHub Actions.

Resize images

Execute the following command:

# install
sudo apt install ffmpeg
sudo apt install imagemagick

cd scripts
# ex: 2024/08/04
bash resize_images.bash 20240804
# ex: ALL
bash resize_images.bash

Update remote repository

Execute the following command:

git add -A
git commit -m "update"
git push origin main

Repository info.

Deploying with GitHub Actions

Setup file: workflows/deploy.yaml

Markdown To HTML

Conversion script: scripts/md2html.py

Generate index.html

Python script: scripts/generate_index.py

Generate sitemap.xml

Python scripts: scripts/generate_sitemap.py

Update scripts