forked from catppuccin/userstyles
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) 路 798 Bytes
/
Copy pathdocs.yml
File metadata and controls
35 lines (31 loc) 路 798 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
name: Deploy Docs to GH Pages
on:
push:
branches: [main]
paths:
- "docs/**"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Build & Upload Site
uses: withastro/action@a4407e937037e68022f04ae1c068d3634f08bc8d # v4
with:
path: ./docs
package-manager: pnpm@10.14.0
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4