chore(deps-dev): bump @babel/core from 7.16.12 to 7.24.7 (#570) #264
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 |