Skip to content

Commit 48ebc1b

Browse files
committed
Updated the docs format
1 parent 0da4e69 commit 48ebc1b

File tree

1 file changed

+53
-57
lines changed

1 file changed

+53
-57
lines changed

.github/workflows/docs.yml

Lines changed: 53 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,65 @@
1-
# .github/workflows/docs.yml
2-
name: Build and Deploy Documentation
1+
# # .github/workflows/docs.yml
2+
# name: Build and Deploy Documentation
33

4-
on:
5-
# Runs on pushes targeting the default branch
6-
push:
7-
branches: ["main", "master"]
4+
# on:
5+
# # Runs on pushes targeting the default branch
6+
# push:
7+
# branches: ["main", "master"]
88

9-
# Allows you to run this workflow manually from the Actions tab
10-
workflow_dispatch:
9+
# # Allows you to run this workflow manually from the Actions tab
10+
# workflow_dispatch:
1111

12-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13-
permissions:
14-
contents: read
15-
pages: write
16-
id-token: write
12+
# # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
# permissions:
14+
# contents: read
15+
# pages: write
16+
# id-token: write
1717

18-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20-
concurrency:
21-
group: "pages"
22-
cancel-in-progress: false
18+
# # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
# concurrency:
21+
# group: "pages"
22+
# cancel-in-progress: false
2323

24-
jobs:
25-
# Build job
26-
build:
27-
runs-on: ubuntu-latest
28-
steps:
29-
- name: Checkout
30-
uses: actions/checkout@v4
24+
# jobs:
25+
# # Build job
26+
# build:
27+
# runs-on: ubuntu-latest
28+
# steps:
29+
# - name: Checkout
30+
# uses: actions/checkout@v4
3131

32-
- name: Setup Node.js
33-
uses: actions/setup-node@v4
34-
with:
35-
node-version: 22
36-
cache: 'npm'
32+
# - name: Setup Node.js
33+
# uses: actions/setup-node@v4
34+
# with:
35+
# node-version: 22
36+
# cache: 'npm'
3737

38-
- name: Setup Pages
39-
uses: actions/configure-pages@v4
38+
# - name: Setup Pages
39+
# uses: actions/configure-pages@v4
4040

41-
- name: Install dependencies
42-
run: npm install
41+
# - name: Install dependencies
42+
# run: npm install
4343

44-
- name: Generate SDK files
45-
run: npm run generate:sdk
46-
working-directory: packages/auth0-acul-react
44+
# - name: Build packages
45+
# run: npm run build
4746

48-
- name: Build packages
49-
run: npm run build
47+
# - name: Generate unified documentation
48+
# run: npm run docs:unified
5049

51-
- name: Generate unified documentation
52-
run: npm run docs:unified
50+
# - name: Upload artifact
51+
# uses: actions/upload-pages-artifact@v3
52+
# with:
53+
# path: './docs'
5354

54-
- name: Upload artifact
55-
uses: actions/upload-pages-artifact@v3
56-
with:
57-
path: './docs'
58-
59-
# Deployment job
60-
deploy:
61-
environment:
62-
name: github-pages
63-
url: ${{ steps.deployment.outputs.page_url }}
64-
runs-on: ubuntu-latest
65-
needs: build
66-
steps:
67-
- name: Deploy to GitHub Pages
68-
id: deployment
69-
uses: actions/deploy-pages@v4
55+
# # Deployment job
56+
# deploy:
57+
# environment:
58+
# name: github-pages
59+
# url: ${{ steps.deployment.outputs.page_url }}
60+
# runs-on: ubuntu-latest
61+
# needs: build
62+
# steps:
63+
# - name: Deploy to GitHub Pages
64+
# id: deployment
65+
# uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)