@@ -17,8 +17,8 @@ permissions:
1717
1818jobs :
1919
20- build_index :
21- uses : ./.github/workflows/build_book .yml
20+ make_index :
21+ uses : ./.github/workflows/make_book .yml
2222 with :
2323 is_index : true
2424
@@ -92,16 +92,16 @@ jobs:
9292 run : echo "deploy_run_id=$(cat run_id.txt)" >> "$GITHUB_ENV"
9393 - name : Watch the deployment
9494 run : gh run watch $deploy_run_id -R originlab/${{ matrix.site }} -i 30 --exit-status
95- - name : Set $deploy_job_id
96- run : echo "deploy_job_id =$(gh run view $deploy_run_id -R originlab/${{ matrix.site }} | grep 'build_book / build' | grep -oP '\(ID \K\d+')" >> "$GITHUB_ENV"
95+ - name : Set $build_job_id
96+ run : echo "build_job_id =$(gh run view $deploy_run_id -R originlab/${{ matrix.site }} | grep 'make_book / build' | grep -oP '\(ID \K\d+')" >> "$GITHUB_ENV"
9797 - name : Print converter output
9898 run : >
99- gh run view $deploy_run_id -j $deploy_job_id -R originlab/${{ matrix.site }} --log
100- | awk '/generator\.csproj/ {f=1} /upload-artifact/ {f=0} f'
99+ gh run view $deploy_run_id -j $build_job_id -R originlab/${{ matrix.site }} --log
100+ | awk '/generator\.csproj/ {f=1} /upload-pages- artifact/ {f=0} f'
101101 | cut -f3- | cut -d' ' -f2-
102102 - name : Print the book artifact summary
103103 run : >
104- gh run view $deploy_run_id -j $deploy_job_id -R originlab/${{ matrix.site }} --log
104+ gh run view $deploy_run_id -j $build_job_id -R originlab/${{ matrix.site }} --log
105105 | awk '/Run actions\/upload-artifact|Finished uploading/{f=1} /Beginning upload|Artifact download/{f=0} f'
106106 | cut -f3- | cut -d' ' -f2-
107107
0 commit comments