chore(deps-dev): bump lint-staged from 15.2.2 to 15.2.7 (#579) #267
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: Publish documentation to GH Pages | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
gh-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '12' | |
- name: "Cache dependencies" | |
uses: actions/cache@v2 | |
with: | |
path: docs/node_modules | |
key: ${{ runner.os }}build-node-${{ hashFiles('docs/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-build-node- | |
- name: "Install documentation dependencies" | |
run: yarn --cwd docs install --frozen-lockfile | |
- name: "Build documentation" | |
run: yarn --cwd docs vuepress build . | |
- name: GitHub Pages action | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/.vuepress/dist | |
cname: vuex-json-api.efrane.com |