Skip to content

Commit fdac291

Browse files
committed
Rename callable workflow.
1 parent 0876a93 commit fdac291

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ permissions:
1717

1818
jobs:
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

converter/converter.slnx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<File Path=".editorconfig" />
55
</Folder>
66
<Folder Name="/Solution Items/Workflows/">
7-
<File Path="../.github/workflows/build_book.yml" />
87
<File Path="../.github/workflows/deploy.yml" />
8+
<File Path="../.github/workflows/make_book.yml" />
99
</Folder>
1010
<Project Path="generator/generator.csproj" />
1111
<Project Path="templates/templates.csproj" />

0 commit comments

Comments
 (0)