Skip to content

Merge pull request #2 from mcio-dev/dependabot/npm_and_yarn/babel/tra… #5

Merge pull request #2 from mcio-dev/dependabot/npm_and_yarn/babel/tra…

Merge pull request #2 from mcio-dev/dependabot/npm_and_yarn/babel/tra… #5

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: npm install
- name: Build
run: npm run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'docs/.vuepress/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2