Skip to content

Merge pull request #445 from junior/helm-ingress-update #60

Merge pull request #445 from junior/helm-ingress-update

Merge pull request #445 from junior/helm-ingress-update #60

Workflow file for this run

name: Publish Docs
on:
push:
branches:
- master
- docs_update
paths:
- 'src/docs/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.122.0
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ''
- name: Setup Hugo
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build Hugo Docs
run: |
cd src/docs
make build
- name: Upload production artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./src/docs/public
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4