Resolve CSS parse error (#15) #12
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
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 |