Skip to content

Resolve CSS parse error (#15) #12

Resolve CSS parse error (#15)

Resolve CSS parse error (#15) #12

Workflow file for this run

name: Build and deploy the demo page
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Git repository
uses: actions/checkout@v2
- name: Install dependencies
run: npm install && cd demo && npm install
- name: Build the plugin
run: npm run build
- name: Build and Deploy
uses: jenkey2011/vuepress-deploy@master
env:
# See https://github.com/marketplace/actions/vuepress-deploy#create-a-personal-access-token
# on how to create and store an access token in case a new one is
# ever needed
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
CNAME: code-switcher.padarom.xyz
TARGET_BRANCH: gh-pages
BUILD_SCRIPT: npm run build:demo
BUILD_DIR: demo/src/.vuepress/dist