Merge pull request #643 from telerik/security-update-docs #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |