Skip to content

Fix gh action

Fix gh action #10

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: yarn
cache-dependency-path: website/yarn.lock
- name: Update events
run: |
echo "Updating"
make generate_event_json
- name: Install and Build 🔧
env:
PUBLIC_URL: https://kiali.org/community/
run: make build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: website/build