-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
811e796
commit 82f1d12
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,35 @@ | ||
# Golb - The statically generated blogging platform | ||
|
||
> The blogging platform that put the reader first | ||
## How to use | ||
|
||
Here is an example of how to use this action in your workflow: | ||
|
||
```yml | ||
name: Build blog | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-blog: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- uses: ThomasFerro/[email protected] | ||
with: | ||
posts_path: /github/workspace/posts | ||
dist_path: /github/workspace/dist | ||
global_assets_path: /github/workspace/blog/assets | ||
blog_title: Thomas Ferro | ||
post_page_template_path: /github/workspace/blog/postPageTemplate.go.html | ||
home_page_template_path: /github/workspace/blog/homePageTemplate.go.html | ||
- name: Deploy to Github Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: dist | ||
``` |