Skip to content

Commit c2ee3e2

Browse files
committed
2 parents 00653a6 + f247b0c commit c2ee3e2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+2542
-46
lines changed

.github/workflows/deploy.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
# Review gh actions docs if you want to further define triggers, paths, etc
9+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
10+
11+
jobs:
12+
deploy:
13+
name: Deploy to GitHub Pages
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: 18
20+
cache: yarn
21+
22+
- name: Install dependencies
23+
run: yarn install --frozen-lockfile
24+
- name: Build website
25+
run: yarn build
26+
27+
# Popular action to deploy to GitHub Pages:
28+
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
29+
- name: Deploy to GitHub Pages
30+
uses: peaceiris/actions-gh-pages@v3
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
# Build output to publish to the `gh-pages` branch:
34+
publish_dir: ./build
35+
# The following lines assign commit authorship to the official
36+
# GH-Actions bot for deploys to `gh-pages` branch:
37+
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
38+
# The GH actions bot is used by default if you didn't specify the two fields.
39+
# You can swap them out with your own user credentials.
40+
user_name: github-actions[bot]
41+
user_email: 41898282+github-actions[bot]@users.noreply.github.com

docs/Infra/_category_.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"label": "Infra",
3+
"position": 4,
4+
"link": {
5+
"type": "generated-index"
6+
}
7+
}

docs/Infra/intro.md

Lines changed: 20 additions & 0 deletions
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"label": "K8s Basics",
3+
"position": 3,
4+
"link": {
5+
"type": "generated-index"
6+
}
7+
}
Lines changed: 60 additions & 0 deletions
Lines changed: 8 additions & 0 deletions

docs/Infra/k8s-basics/intro.md

Lines changed: 18 additions & 0 deletions
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"label": "Pipelines",
3+
"position": 3,
4+
"link": {
5+
"type": "generated-index"
6+
}
7+
}

docs/Infra/pipelines/cd.md

Lines changed: 10 additions & 0 deletions

docs/Infra/pipelines/ci.md

Lines changed: 5 additions & 0 deletions

0 commit comments

Comments
 (0)