-
Notifications
You must be signed in to change notification settings - Fork 20
48 lines (39 loc) · 1012 Bytes
/
deploy.yml
File metadata and controls
48 lines (39 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Publish to GitHub Pages
permissions:
contents: write
pages: write
id-token: write
on:
push:
branches:
- master
# Prevent multiple deployments from running simultaneously
concurrency:
group: pages-deploy-${{ github.ref }}
cancel-in-progress: true
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'yarn'
- name: Install Dependencies
run: yarn install --non-interactive --frozen-lockfile
- name: Build Site
run: yarn docs:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: docs/.vuepress/dist
clean: true
single-commit: true