forked from viarotel-org/escrcpy
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 827 Bytes
/
release-docs.yml
File metadata and controls
38 lines (31 loc) · 827 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
name: release-docs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v6
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: 24
- name: Enable corepack and pnpm
run: |
corepack enable
corepack prepare pnpm@10.29.2 --activate
- name: Install and Build
run: |
pnpm install
pnpm docs:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: docs
folder: dist-docs