Skip to content

docs(guide/date): fix dead link in /guide/date/instance #50

docs(guide/date): fix dead link in /guide/date/instance

docs(guide/date): fix dead link in /guide/date/instance #50

Workflow file for this run

name: "Deploy"
on:
workflow_dispatch:
push:
branches:
- main
paths:
- ".vitepress/**"
- "public/**"
- "**.md"
- "package.json"
pull_request:
branches:
- main
paths:
- ".vitepress/**"
- "public/**"
- "**.md"
- "package.json"
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install Dependencies
run: npm install
- name: Pack
run: npm run build
# mv dist to _site
- name: Ready to Upload
run: mv .vitepress/dist _site
- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
Deploy:
runs-on: ubuntu-latest
needs: Build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2
id: deployment