Demo | Local Install | Github Action Install
smiley.sh is a very fast SSG script written in bash with GitHub Actions support.
This script is useful for bloggers who want a minimal blog with very little setup.
Useful for quick testing and theme/module development for smiley.sh
Download the sample project structure from smiley-empty-project
git clone https://github.com/ParaSpl01t/smiley-empty-project.git
cd smiley-empty-project
curl -O https://raw.githubusercontent.com/ParaSpl01t/smiley.sh/main/smiley.sh
bash smiley.sh
The built site will be saved in docs/
directory.
Useful for quick deployment.
Download the sample project structure from smiley-empty-project
git clone https://github.com/ParaSpl01t/smiley-empty-project.git
cd smiley-empty-project
touch .github/workflows/build-blog.yml
contents of .github/workflows/build-blog.yml
:
name: Build blog
on: [push]
jobs:
Build-Blog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ParaSpl01t/[email protected]
Edit src/0000-first-post.html
file or create a new file in src
directory. The name of the file doesn't matter but the contents do.
Now push to github and done.