Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish documentation to GH Pages #265

Merged
merged 2 commits into from
Sep 15, 2022
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
42 changes: 42 additions & 0 deletions .github/workflows/sdk-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: SDK Documentation Publish

on:
push:
branches: [master]
workflow_dispatch:

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

jobs:
build:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
with:
node-version: 16
- uses: actions/configure-pages@45efe609374726fd94570f0e5a4c32f41675e823 # tag=v2
- name: Run build
run: |
npm ci --no-audit
npm run docs
- name: Upload artifact
uses: actions/upload-pages-artifact@a597aecd27af1cf14095ccaa29169358e3d91e28 # tag=v1
with:
path: ./docs

deploy:
name: Deploy to GitHub Pages
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@c2379ec5e719a934ec613038d081879b58c9d7df # tag=v1
1 change: 0 additions & 1 deletion docs/.nojekyll

This file was deleted.

126 changes: 0 additions & 126 deletions docs/README.md

This file was deleted.

114 changes: 0 additions & 114 deletions docs/classes/generated_client.ActivityLogApi.md

This file was deleted.

Loading