Skip to content

Commit a9b2694

Browse files
committed
Add doc files
1 parent 43f0866 commit a9b2694

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# GitHub Code Owners
2+
* @sas-institute-rnd-internal/ospo-maintainers

.github/sas-settings/access.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
teams:
2+
- name: all
3+
role: Read
4+
- name: ospo-contributors
5+
role: Write
6+
- name: ospo-maintainers
7+
role: Maintain

.github/workflows/deploy-doc.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Deploy Doc Website to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
permissions:
13+
contents: write
14+
15+
defaults:
16+
run:
17+
shell: bash
18+
working-directory: ./website
19+
20+
jobs:
21+
deploy:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: actions/setup-node@v4
26+
with:
27+
cache: "npm"
28+
cache-dependency-path: website/package-lock.json
29+
- run: npm ci
30+
31+
- name: Build website
32+
run: npm run build
33+
34+
# Popular action to deploy to GitHub Pages:
35+
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
36+
- name: Deploy to GitHub Pages
37+
uses: peaceiris/actions-gh-pages@v4
38+
with:
39+
github_token: ${{ secrets.GITHUB_TOKEN }}
40+
# Build output to publish to the `gh-pages` branch:
41+
publish_dir: ./website/build

0 commit comments

Comments
 (0)