Skip to content

Commit

Permalink
feat(docs): Migrate documentation to Github Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziwi01 committed Jan 7, 2024
1 parent 78c85e1 commit 1af116d
Show file tree
Hide file tree
Showing 119 changed files with 18,516 additions and 1,556 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Deploy Docusaurus site to Pages

on:
push:
branches: ["develop"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Build job
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Build Docusaurus
run: npm run build
working-directory: docs-web
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: docs-web/build

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: builddocs
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
690 changes: 52 additions & 638 deletions README.md

Large diffs are not rendered by default.

Loading

0 comments on commit 1af116d

Please sign in to comment.