Skip to content

Smiley.sh

Actions
A very fast SSG script for bloggers. Written in bash with GitHub Actions support
v0.0.4
Latest
Star (3)

smiley.sh

Demo | Local Install | Github Action Install

Overview

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.

Installation

Local Installation

Useful for quick testing and theme/module development for smiley.sh

Create required files.

Download the sample project structure from smiley-empty-project

git clone https://github.com/ParaSpl01t/smiley-empty-project.git

Download the latest script in the project folder.

cd smiley-empty-project
curl -O https://raw.githubusercontent.com/ParaSpl01t/smiley.sh/main/smiley.sh

Run the script

bash smiley.sh

The built site will be saved in docs/ directory.


GitHub Actions

Useful for quick deployment.

Create required files.

Download the sample project structure from smiley-empty-project

git clone https://github.com/ParaSpl01t/smiley-empty-project.git

Create a worlflow file in project folder.

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/smiley.sh@v0.0.4

Make changes to src

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.

Smiley.sh is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

A very fast SSG script for bloggers. Written in bash with GitHub Actions support
v0.0.4
Latest

Smiley.sh is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.