ttpages/README.md

43 lines
798 B
Markdown
Raw Normal View History

2024-08-14 12:35:44 -04:00
# Jekyll action workflow
This repository contains the source code of the Jekyll action for TTGit Actions.
2024-08-14 12:16:13 -04:00
## Usage of the workflow
> Notice:
>
> Make sure you have actions enabled on your account and repository!
Usage example:
```yaml
steps:
2024-08-14 12:35:44 -04:00
- name: Setup Jekyll
uses: https://git.ttnrtsite.me/actions/jekyll
- name: Check ruby version
run: ruby -v
2024-08-14 12:16:13 -04:00
```
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
2024-08-14 12:35:44 -04:00
- name: Setup Jekyll
uses: https://git.ttnrtsite.me/actions/jekyll
- name: Check ruby version
run: ruby -v
```