jekyll/README.md
2024-08-14 12:35:44 -04:00

43 lines
798 B
Markdown

# Jekyll action workflow
This repository contains the source code of the Jekyll action for TTGit Actions.
## Usage of the workflow
> Notice:
>
> Make sure you have actions enabled on your account and repository!
Usage example:
```yaml
steps:
- name: Setup Jekyll
uses: https://git.ttnrtsite.me/actions/jekyll
- name: Check ruby version
run: ruby -v
```
The workflow would then look like this:
```yaml
---
name: Publish site
on:
push:
branches: [main] # Change this if your branch is different
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Jekyll
uses: https://git.ttnrtsite.me/actions/jekyll
- name: Check ruby version
run: ruby -v
```