Skip to content

ParaSpl01t/smiley.sh

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

A very fast SSG script written in bash with GitHub Actions support.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages