Skip to content

Merge pull request #586 from telerik/dependabot/npm_and_yarn/examples… #94

Merge pull request #586 from telerik/dependabot/npm_and_yarn/examples…

Merge pull request #586 from telerik/dependabot/npm_and_yarn/examples… #94

Workflow file for this run

# Builds and publishes examples to GH pages
name: CD
on:
push:
branches:
- master
defaults:
run:
working-directory: ./examples
env:
NODE_OPTIONS: --max_old_space_size=6144
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Use NodeJS v14
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Check out repository
uses: actions/checkout@v2
- 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: ./examples/dist
user_name: 'kendo-bot'
user_email: '[email protected]'
- name: Cleanup
run: git clean -xdf