Skip to content

Merge pull request #2695 from telerik/fix-deploy #316

Merge pull request #2695 from telerik/fix-deploy

Merge pull request #2695 from telerik/fix-deploy #316

Workflow file for this run

# Builds and publishes examples to GH pages
name: CD
on:
push:
branches:
- master
defaults:
run:
working-directory: ./live
env:
NODE_OPTIONS: --max_old_space_size=6144
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Use NodeJS v18
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Check out repository
uses: actions/checkout@v4
- name: Build
run: ./bin/build-gh-pages
env:
KENDO_UI_LICENSE: ${{ secrets.KENDO_UI_LICENSE }}
- name: Deploy to GH Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ github.token }}
publish_dir: ./live/build
user_name: 'kendo-bot'
user_email: '[email protected]'