Skip to content

Commit d249cac

Browse files
Update README.md
1 parent 1846484 commit d249cac

File tree

1 file changed

+36
-4
lines changed

1 file changed

+36
-4
lines changed

README.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,47 @@
11
# Overview
22

3+
[![Build](https://img.shields.io/github/actions/workflow/status/lizardbyte/LizardByte.github.io/ci.yml.svg?branch=master&label=build&logo=github&style=for-the-badge)](https://github.com/LizardByte/LizardByte.github.io/actions/workflows/ci.yml?query=branch%3Amaster)
4+
35
## About
46

57
This repo contains the source files for the [LizardByte](https://app.lizardbyte.dev) website.
68

79
The page is built using jekyll and hosted on GitHub Pages.
810

9-
## Integrations
10-
11-
[![GitHub Workflow Status (Build)](https://img.shields.io/github/actions/workflow/status/lizardbyte/lizardbyte.github.io/build.yml.svg?branch=master&label=build&logo=github&style=for-the-badge)](https://github.com/LizardByte/LizardByte.github.io/actions/workflows/build.yml?query=branch%3Amaster)
12-
1311
### CrowdIn Localization
1412

1513
[![CrowdIn graph](https://app.lizardbyte.dev/dashboard/crowdin/LizardByte_graph.svg)](https://translate.lizardbyte.dev)
14+
15+
### Reusable Workflow
16+
17+
This repo contains a reusable workflow to allow for building gh-pages subprojects using the same configuration.
18+
19+
```yml
20+
---
21+
name: Jekyll CI
22+
23+
on:
24+
pull_request:
25+
branches:
26+
- master
27+
types:
28+
- opened
29+
- synchronize
30+
- reopened
31+
32+
concurrency:
33+
group: "${{ github.workflow }}-${{ github.ref }}"
34+
cancel-in-progress: true
35+
36+
jobs:
37+
call-jekyll-build:
38+
uses: LizardByte/LizardByte.github.io/.github/workflows/jekyll-build.yml@master
39+
with:
40+
site_source: '.'
41+
target_branch: 'gh-pages'
42+
clean_gh_pages: true
43+
secrets:
44+
GH_BOT_EMAIL: ${{ secrets.GH_BOT_EMAIL }}
45+
GH_BOT_NAME: ${{ secrets.GH_BOT_NAME }}
46+
GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
47+
```

0 commit comments

Comments
 (0)