|
1 | | -# .github/workflows/docs.yml |
2 | | -name: Build and Deploy Documentation |
| 1 | +# # .github/workflows/docs.yml |
| 2 | +# name: Build and Deploy Documentation |
3 | 3 |
|
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"] |
8 | 8 |
|
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: |
11 | 11 |
|
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 |
17 | 17 |
|
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 |
23 | 23 |
|
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 |
31 | 31 |
|
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' |
37 | 37 |
|
38 | | - - name: Setup Pages |
39 | | - uses: actions/configure-pages@v4 |
| 38 | +# - name: Setup Pages |
| 39 | +# uses: actions/configure-pages@v4 |
40 | 40 |
|
41 | | - - name: Install dependencies |
42 | | - run: npm install |
| 41 | +# - name: Install dependencies |
| 42 | +# run: npm install |
43 | 43 |
|
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 |
47 | 46 |
|
48 | | - - name: Build packages |
49 | | - run: npm run build |
| 47 | +# - name: Generate unified documentation |
| 48 | +# run: npm run docs:unified |
50 | 49 |
|
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' |
53 | 54 |
|
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