1- # This workflow uses actions that are not certified by GitHub.
2- # They are provided by a third-party and are governed by
3- # separate terms of service, privacy policy, and support
4- # documentation.
5-
6- # Sample workflow for building and deploying a Jekyll site to GitHub Pages
7- name : Deploy Docs site to Pages
1+ name : Deploy docs to GitHub Pages
82
93on :
104 push :
115 branches : ["add-gh-pages"]
12- paths : ["docs/**","**/README.md","**/CHANGELOG.md","Pipelines/Scripts/prepare-pages.ps1"]
6+ paths :
7+ [
8+ " docs/**" ,
9+ " **/README.md" ,
10+ " **/CHANGELOG.md" ,
11+ " Pipelines/Scripts/prepare-pages.ps1" ,
12+ ]
1313
1414 # Allows you to run this workflow manually from the Actions tab
1515 workflow_dispatch :
@@ -20,10 +20,11 @@ permissions:
2020 pages : write
2121 id-token : write
2222
23- # Allow one concurrent deployment
23+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
24+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2425concurrency :
2526 group : " pages"
26- cancel-in-progress : true
27+ cancel-in-progress : false
2728
2829jobs :
2930 # Build job
@@ -35,17 +36,17 @@ jobs:
3536 steps :
3637 - name : Checkout
3738 uses : actions/checkout@v5
38- - name : Copy READMEs
39+ - name : Copy documentation files
3940 shell : pwsh
40- run : |
41- ${{ github.workspace }}/Pipelines/Scripts/prepare-pages.ps1 -ProjectRoot ${{ github.workspace }}
41+ run : ${{ github.workspace }}/Pipelines/Scripts/prepare-pages.ps1 -ProjectRoot ${{ github.workspace }}
4242 - name : Setup Ruby
43- uses : ruby/setup-ruby@v1
43+ # https://github.com/ruby/setup-ruby/releases/tag/v1.207.0
44+ uses : ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
4445 with :
45- ruby-version : ' 3.3' # Not needed with a .ruby-version file
46+ ruby-version : " 3.3" # Not needed with a .ruby-version file
4647 bundler-cache : true # runs 'bundle install' and caches installed gems automatically
4748 cache-version : 0 # Increment this number if you need to re-download cached gems
48- working-directory : ' ${{ github.workspace }}/docs'
49+ working-directory : " ${{ github.workspace }}/docs"
4950 - name : Setup Pages
5051 id : pages
5152 uses : actions/configure-pages@v5
5657 JEKYLL_ENV : production
5758 - name : Upload artifact
5859 # Automatically uploads an artifact from the './_site' directory by default
59- uses : actions/upload-pages-artifact@v4
60+ uses : actions/upload-pages-artifact@v3
6061 with :
6162 path : docs/_site/
63+
6264 # Deployment job
6365 deploy :
6466 environment :
0 commit comments