Skip to content

Update demo app to 1.4.3 #58

Update demo app to 1.4.3

Update demo app to 1.4.3 #58

Workflow file for this run

name: Deploy demo-app to Github-Pages
on:
push:
branches:
- master
jobs:
build:
name: Build and deploy demo-app
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_BASE_PATH: /tailwind-datepicker-react
strategy:
matrix:
node-version: [16.x]
steps:
- name: Get files
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install packages
working-directory: ./demo-app
run: npm ci
- name: Build project
working-directory: ./demo-app
run: npm run build
- name: Export static files
working-directory: ./demo-app
run: npm run export
- name: Add .nojekyll file
working-directory: ./demo-app
run: touch ./out/.nojekyll
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./demo-app/out