|
1 | 1 | # Sample workflow for building and deploying a Jekyll site to GitHub Pages |
2 | | -name: Deploy Jekyll with GitHub Pages dependencies preinstalled |
| 2 | +#name: Deploy Jekyll with GitHub Pages dependencies preinstalled |
3 | 3 |
|
4 | | -on: |
| 4 | +#on: |
5 | 5 | # Runs on pushes targeting the default branch |
6 | | - push: |
7 | | - branches: ["main"] |
| 6 | + #push: |
| 7 | + #branches: ["main"] |
8 | 8 |
|
9 | 9 | # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages |
10 | | -permissions: |
11 | | - contents: read |
12 | | - pages: write |
13 | | - id-token: write |
| 10 | +#permissions: |
| 11 | + #contents: read |
| 12 | + #pages: write |
| 13 | + #id-token: write |
14 | 14 |
|
15 | 15 | # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. |
16 | 16 | # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. |
17 | | -concurrency: |
18 | | - group: "pages" |
19 | | - cancel-in-progress: false |
| 17 | +#concurrency: |
| 18 | + #group: "pages" |
| 19 | + #cancel-in-progress: false |
20 | 20 |
|
21 | | -jobs: |
22 | | - publish-docs: |
23 | | - environment: |
24 | | - name: github-pages |
25 | | - url: ${{ steps.deployment.outputs.page_url }} |
26 | | - runs-on: ubuntu-latest |
27 | | - steps: |
28 | | - - name: Checkout |
29 | | - uses: actions/checkout@v3 |
30 | | - - name: Dotnet Setup |
31 | | - uses: actions/setup-dotnet@v3 |
32 | | - with: |
33 | | - dotnet-version: 10.x |
| 21 | +#jobs: |
| 22 | + #publish-docs: |
| 23 | + #environment: |
| 24 | + #name: github-pages |
| 25 | + #url: ${{ steps.deployment.outputs.page_url }} |
| 26 | + #runs-on: ubuntu-latest |
| 27 | + #steps: |
| 28 | + #- name: Checkout |
| 29 | + # uses: actions/checkout@v3 |
| 30 | + #- name: Dotnet Setup |
| 31 | + # uses: actions/setup-dotnet@v3 |
| 32 | + # with: |
| 33 | + # dotnet-version: 10.x |
34 | 34 |
|
35 | | - - run: dotnet tool update -g docfx |
36 | | - - run: docfx docs/docfx.json |
| 35 | + # - run: dotnet tool update -g docfx |
| 36 | + #- run: docfx docs/docfx.json |
37 | 37 |
|
38 | | - - name: Upload artifact |
39 | | - uses: actions/upload-pages-artifact@v3 |
40 | | - with: |
| 38 | + #- name: Upload artifact |
| 39 | + # uses: actions/upload-pages-artifact@v3 |
| 40 | + # with: |
41 | 41 | # Upload entire repository |
42 | | - path: 'docs/_site' |
43 | | - - name: Deploy to GitHub Pages |
44 | | - id: deployment |
45 | | - uses: actions/deploy-pages@v4 |
| 42 | + # path: 'docs/_site' |
| 43 | + # - name: Deploy to GitHub Pages |
| 44 | + # id: deployment |
| 45 | + # uses: actions/deploy-pages@v4 |
0 commit comments