mirror of
https://github.com/material-components/material-web.git
synced 2024-10-28 06:28:12 +03:00
16ee9407f7
14 is active LTS, 12 is maintenance LTS.
26 lines
582 B
YAML
26 lines
582 B
YAML
name: Build and Deploy Demos
|
|
on:
|
|
push:
|
|
branches: master
|
|
jobs:
|
|
build-and-deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 14
|
|
|
|
- name: Install and Build
|
|
run: |
|
|
npm install
|
|
npm run build
|
|
npm run build:demos
|
|
|
|
- name: Deploy Demos
|
|
uses: JamesIves/github-pages-deploy-action@3.4.9
|
|
with:
|
|
ACCESS_TOKEN: ${{ secrets.TEDIUM_BOT_GITHUB_ACCESS_TOKEN }}
|
|
BRANCH: gh-pages
|
|
FOLDER: dist
|