-
-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (36 loc) · 1.05 KB
/
deploy-docs.yml
File metadata and controls
39 lines (36 loc) · 1.05 KB
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
name: Node CI
on:
push:
branches:
- main
workflow_dispatch: {}
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.x]
env:
GIT_USER: github-actions[bot]
GIT_PASS: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v2
- name: SETUP_NODE_${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
- name: BEFORE_SCRIPT
run: |
# Configure git identity globally so commits in temp gh-pages clone succeed
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: INSTALL_PACKAGES
run: bun install --frozen-lockfile
- name: DEPLOY
run: bun run --filter "@gracefullight/docusaurus-plugin-docs" deploy