Skip to content

Commit e1a7937

Browse files
authored
Update site.yaml
1 parent 89fa8ee commit e1a7937

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

.github/workflows/site.yaml

+1-35
Original file line numberDiff line numberDiff line change
@@ -1,35 +1 @@
1-
name: Deploy Site
2-
on:
3-
workflow_dispatch: {}
4-
push:
5-
branches:
6-
- main
7-
paths:
8-
- "site/**"
9-
- ".github/**"
10-
- "VERSION"
11-
- "reference.yaml"
12-
jobs:
13-
deploy:
14-
runs-on: ubuntu-latest
15-
permissions:
16-
pages: write
17-
id-token: write
18-
environment:
19-
name: github-pages
20-
url: ${{ steps.deployment.outputs.page_url }}
21-
steps:
22-
- uses: actions/checkout@v4
23-
- uses: actions/setup-node@v4
24-
with:
25-
cache: npm
26-
cache-dependency-path: site/package-lock.json
27-
- run: npm ci
28-
working-directory: site/
29-
- run: make site-build
30-
- uses: actions/configure-pages@v2
31-
- uses: actions/upload-pages-artifact@v1
32-
with:
33-
path: site/.vitepress/dist
34-
- id: deployment
35-
uses: actions/deploy-pages@v1
1+

0 commit comments

Comments
 (0)