Skip to content
Merged

Docs #77

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
40 changes: 40 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Web

on:
push:
branches: ["main"]

workflow_dispatch:

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

concurrency:
group: "pages"
cancel-in-progress: false

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

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'web/'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
42 changes: 42 additions & 0 deletions .github/workflows/document.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Web
# (Learning about) Autogenerated documentation for GitHub Pages.

on:
pull_request:
branches: [ "main" ]


jobs:
documentation:
runs-on: ubuntu-latest

steps:
- name: Checkout branch
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}

- name: Generate documentation
uses: mattnotmitt/doxygen-action@v1.12.0

- name: No Jekyll
run: touch web/.nojekyll

- name: Commit changes
uses: EndBug/add-and-commit@latest
with:
add: 'web/'

author_name: Lazy Vayu
author_email: pawanmsr@outlook.com

commit: --signoff
committer_name: Workflow Automation
committer_email: 25368219+pawanmsr@users.noreply.github.com

default_author: github_actor
message: 'generate documentation'

pathspec_error_handling: ignore
push: true
Loading