GitHub actions has been set up for main branch and triggered by each
git push soon. The contents under the directory html/ is
publicly accessible at IFDS2024.
-
Install awscli (assuming its dependency Python and pip have been installed) by
sudo pip install awscli. -
Configure local credential for
aws. Seeawshelp page for instructions.
A simple Makefile are prepared for ease of using pandoc and sync all the media files from/to AWS S3 bucket.
The available targets include:
-
build: Runningpandocto build HTML outputs locally underhtml/. -
push: Sync all local media files underphotos/to remote AWS S3 bucket by awscli. This target should be used only when you have the latest version of all the media files. Remote media files will be an exact copy of the local version. -
pull: Sync all the remote media files on AWS S3 bucket to localphotos. -
clean: Removing generated pages underhtml/and other temp files.