1313
1414  #  Allows you to run this workflow manually from the Actions tab
1515  workflow_dispatch :
16+     #  inputs:
17+     #    skip-htmlproofer:
18+     #      description: 'Skips running htmlproofer'
19+     #      type: boolean
1620
1721  pull_request :
1822
3640      - name : Checkout 
3741        uses : actions/checkout@v4 
3842
43+       - name : Setup Python 
44+         uses : actions/setup-python@v5 
45+         with :
46+           python-version : ' 3.13' 
47+ 
3948      - name : Setup Ruby 
4049        uses : ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42  #  v1.161.0
4150        with :
@@ -48,22 +57,22 @@ jobs:
4857        uses : actions/configure-pages@v5 
4958
5059      - name : Build with Jekyll 
51-         #  Outputs to the './_site' directory by default
52-         run : bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" 
60+         run : ./_jekyll.py merge 
5361        env :
5462          JEKYLL_ENV : production 
5563
56-       - name : Run HTMLProofer 
57-          run :  | 
58-           base_path="${{ steps.pages.outputs.base_path }}"  
59-           base_url="${{ steps.pages.outputs.base_url }}"  
60- 
61-           bundle exec htmlproofer _site  --swap-urls "^$base_path/:/,^${base_url/:/\\:}/:/" --ignore-files "/_site\\/mods /" 
64+       #   - name: Run HTMLProofer
65+       #    if: ${{ !inputs.skip-htmlproofer }} 
66+       #    run: > 
67+       #      bundle exec htmlproofer _merged_site 
68+        #      --ignore-files "/_merged_site\\/(oak|willow2)-mod-db\\/mods/" 
69+       #       --swap-urls "https\://bl-sdk.github.io/: /"
6270
6371      - name : Upload artifact 
64-         if : github.ref == 'refs/heads/master' && github.repository == 'bl-sdk/willow2-mod-db' 
65-         #  Automatically uploads an artifact from the './_site' directory by default
72+         if : github.ref == 'refs/heads/master' && github.repository == 'bl-sdk/bl-sdk.github.io' 
6673        uses : actions/upload-pages-artifact@v3 
74+         with :
75+           path : _merged_site/ 
6776
6877  spelling :
6978    runs-on : ubuntu-latest 
8190      name : github-pages 
8291      url : ${{ steps.deployment.outputs.page_url }} 
8392    runs-on : ubuntu-latest 
84-     if : github.ref == 'refs/heads/master' && github.repository == 'bl-sdk/willow2-mod-db ' 
93+     if : github.ref == 'refs/heads/master' && github.repository == 'bl-sdk/bl-sdk.github.io ' 
8594
8695    needs :
8796    - build 
0 commit comments