Skip to content

Commit

Permalink
feat(docu): add docusaurus integration
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Pinsel <dominik.pinsel@mercedes-benz.com>
  • Loading branch information
DominikPinsel committed May 16, 2024
1 parent 179b590 commit 3c63689
Show file tree
Hide file tree
Showing 55 changed files with 16,199 additions and 14,448 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/docusaurus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main
paths:
- 'docs/**'

permissions:
contents: read
deployments: write
pages: write

jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 18

- name: Install dependencies
run: yarn --cwd docs install --frozen-lockfile

- name: Build Documentation
run: yarn --cwd docs build

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v2.0.0
with:
path: docs/build

deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
needs: build

permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
20 changes: 20 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
36 changes: 0 additions & 36 deletions docs/ArchitectureWebDID.md

This file was deleted.

164 changes: 0 additions & 164 deletions docs/Development.md

This file was deleted.

40 changes: 0 additions & 40 deletions docs/MIW_DB_Schema_v0.0.1.md

This file was deleted.

Loading

0 comments on commit 3c63689

Please sign in to comment.