Skip to content

Commit 08a1ac9

Browse files
committed
Build site with Jekyll
1 parent 9b7095a commit 08a1ac9

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/workflows/release.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,26 @@ jobs:
2323
helm package .
2424
helm repo index . --url https://binarycat0.github.io/helm-charts-demo-polaris-persistence-db
2525
26+
- name: Build Jekyll site
27+
uses: actions/setup-ruby@v1
28+
with:
29+
ruby-version: '3.1'
30+
31+
- name: Install Jekyll and Bundler
32+
run: |
33+
gem install jekyll bundler
34+
35+
- name: Copy README.md to index.md
36+
run: cp README.md index.md
37+
38+
- name: Build site with Jekyll
39+
run: |
40+
jekyll build --source . --destination ./_site
41+
2642
- name: Deploy to GitHub Pages
2743
uses: peaceiris/actions-gh-pages@v3
2844
with:
2945
github_token: ${{ secrets.GITHUB_TOKEN }}
30-
publish_dir: .
46+
publish_dir: ./_site
3147
publish_branch: gh-pages
3248
keep_files: true

index.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)