Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: pages

on:
push:
branches: [main]
paths:
- "docs/**"
- "mkdocs.yml"
- ".github/workflows/pages.yml"

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- uses: actions/configure-pages@v5

- uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Install MkDocs
run: pip install mkdocs mkdocs-material

- name: Build site
run: mkdocs build --strict

- uses: actions/upload-pages-artifact@v3
with:
path: site

deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
16 changes: 16 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
site_name: JevOps
docs_dir: docs
sote_dir: site

nav:
- Home: index.md
- Foundations:
- Overview: foundations/README.md
- Linux: foundations/linux.md
- Networking: foundations/networking.md
- Git: foundations/git.md
- Projects:
- Overview: projects/README.md
- App:
- Project: projects/app/README.md
- CI: projects/app/ci.md