Skip to content

Build site with Jekyll #11

Build site with Jekyll

Build site with Jekyll #11

Workflow file for this run

name: Release Helm Chart
on:
push:
branches:
- main
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Helm
uses: azure/setup-helm@v4
- name: Package Helm Chart
run: |
helm package .
helm repo index . --url https://binarycat0.github.io/helm-charts-demo-polaris-persistence-db
- name: Build Jekyll site
uses: actions/setup-ruby@v1
with:
ruby-version: '3.1'
- name: Install Jekyll and Bundler
run: |
gem install jekyll bundler
- name: Copy README.md to index.md
run: cp README.md index.md
- name: Build site with Jekyll
run: |
jekyll build --source . --destination ./_site
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: gh-pages
keep_files: true