Skip to content

docs: offline package add metallb #55

docs: offline package add metallb

docs: offline package add metallb #55

Workflow file for this run

name: Release github pages
on:
push:
branches:
- release/latest
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: master
submodules: recursive # Fetch the Docsy theme
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.101.0'
extended: true
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.10.12'
- name: Install python requirements
run: |
pip3 install pyyaml
- name: Build public site
run: |
./scripts/build.py --host=https://www.kubeclipper.io --edition=ce --multi-versions --no-out-fetch
cp CNAME ./public
ls -alh ./public
- name: Publish site
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./public