Skip to content

增加了禁止自动播放视频 (#161) #45

增加了禁止自动播放视频 (#161)

增加了禁止自动播放视频 (#161) #45

Workflow file for this run

name: Deploy
on:
workflow_dispatch: { }
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16 ]
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup pnpm ⚡️
uses: pnpm/action-setup@v2
with:
version: 7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies ⚡️
run: pnpm install --frozen-lockfile
- name: Build 🛠️
run: pnpm docs:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/.vitepress/dist
branch: gh-pages