|
1 | | -# Build and deploy DocFX documentation to GitHub Pages |
2 | | -name: Deploy Documentation to Pages |
| 1 | +# # Build and deploy DocFX documentation to GitHub Pages |
| 2 | +# name: Deploy Documentation to Pages |
3 | 3 |
|
4 | | -on: |
5 | | - # Runs on pushes targeting the default branch |
6 | | - push: |
7 | | - branches: ["main"] |
8 | | - paths: |
9 | | - - 'docs/**' |
| 4 | +# on: |
| 5 | +# # Runs on pushes targeting the default branch |
| 6 | +# push: |
| 7 | +# branches: ["main"] |
| 8 | +# paths: |
| 9 | +# - 'docs/**' |
10 | 10 |
|
11 | | - # Allows you to run this workflow manually from the Actions tab |
12 | | - workflow_dispatch: |
| 11 | +# # Allows you to run this workflow manually from the Actions tab |
| 12 | +# workflow_dispatch: |
13 | 13 |
|
14 | | -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages |
15 | | -permissions: |
16 | | - contents: read |
17 | | - pages: write |
18 | | - id-token: write |
| 14 | +# # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages |
| 15 | +# permissions: |
| 16 | +# contents: read |
| 17 | +# pages: write |
| 18 | +# id-token: write |
19 | 19 |
|
20 | | -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. |
21 | | -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. |
22 | | -concurrency: |
23 | | - group: "pages" |
24 | | - cancel-in-progress: false |
| 20 | +# # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. |
| 21 | +# # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. |
| 22 | +# concurrency: |
| 23 | +# group: "pages" |
| 24 | +# cancel-in-progress: false |
25 | 25 |
|
26 | | -jobs: |
27 | | - # Build job |
28 | | - build: |
29 | | - runs-on: ubuntu-latest |
30 | | - steps: |
31 | | - - name: Checkout |
32 | | - uses: actions/checkout@v4 |
33 | | - with: |
34 | | - fetch-depth: 0 # Fetch all history for git info |
| 26 | +# jobs: |
| 27 | +# # Build job |
| 28 | +# build: |
| 29 | +# runs-on: ubuntu-latest |
| 30 | +# steps: |
| 31 | +# - name: Checkout |
| 32 | +# uses: actions/checkout@v4 |
| 33 | +# with: |
| 34 | +# fetch-depth: 0 # Fetch all history for git info |
35 | 35 |
|
36 | | - - name: Setup .NET |
37 | | - uses: actions/setup-dotnet@v4 |
38 | | - with: |
39 | | - dotnet-version: '8.x' |
| 36 | +# - name: Setup .NET |
| 37 | +# uses: actions/setup-dotnet@v4 |
| 38 | +# with: |
| 39 | +# dotnet-version: '8.x' |
40 | 40 |
|
41 | | - - name: Setup DocFX |
42 | | - run: dotnet tool install -g docfx |
| 41 | +# - name: Setup DocFX |
| 42 | +# run: dotnet tool install -g docfx |
43 | 43 |
|
44 | | - - name: Build with DocFX |
45 | | - run: | |
46 | | - cd docs |
47 | | - docfx docfx.json |
| 44 | +# - name: Build with DocFX |
| 45 | +# run: | |
| 46 | +# cd docs |
| 47 | +# docfx docfx.json |
48 | 48 |
|
49 | | - - name: Setup Pages |
50 | | - uses: actions/configure-pages@v5 |
| 49 | +# - name: Setup Pages |
| 50 | +# uses: actions/configure-pages@v5 |
51 | 51 |
|
52 | | - - name: Upload artifact |
53 | | - uses: actions/upload-pages-artifact@v3 |
54 | | - with: |
55 | | - path: 'docs/_site' |
| 52 | +# - name: Upload artifact |
| 53 | +# uses: actions/upload-pages-artifact@v3 |
| 54 | +# with: |
| 55 | +# path: 'docs/_site' |
56 | 56 |
|
57 | | - # Deploy job |
58 | | - deploy: |
59 | | - environment: |
60 | | - name: github-pages |
61 | | - url: ${{ steps.deployment.outputs.page_url }} |
62 | | - runs-on: ubuntu-latest |
63 | | - needs: build |
64 | | - steps: |
65 | | - - name: Deploy to GitHub Pages |
66 | | - id: deployment |
67 | | - uses: actions/deploy-pages@v4 |
| 57 | +# # Deploy job |
| 58 | +# deploy: |
| 59 | +# environment: |
| 60 | +# name: github-pages |
| 61 | +# url: ${{ steps.deployment.outputs.page_url }} |
| 62 | +# runs-on: ubuntu-latest |
| 63 | +# needs: build |
| 64 | +# steps: |
| 65 | +# - name: Deploy to GitHub Pages |
| 66 | +# id: deployment |
| 67 | +# uses: actions/deploy-pages@v4 |
0 commit comments