Skip to content

Commit c72a6ef

Browse files
committed
style: Re-organize steps anticipating integration of status update
1 parent 199db05 commit c72a6ef

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/doxygen-build-and-publish.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ jobs:
5252
path: Slicer
5353
ref: ${{ steps.collect_inputs.outputs.slicer_ref }}
5454

55+
- uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
56+
id: app-token
57+
with:
58+
app-id: ${{ vars.SLICER_APP_ID }}
59+
private-key: ${{ secrets.SLICER_APP_PRIVATE_KEY }}
60+
owner: Slicer
61+
repositories: |
62+
apidocs.slicer.org
63+
preview.apidocs.slicer.org
64+
5565
- name: Determine if ref is branch or tag
5666
id: determine
5767
run: |
@@ -179,16 +189,6 @@ jobs:
179189
env:
180190
WARNING_LOG_FILE: ${{ steps.generate.outputs.warning_log_file }}
181191

182-
- uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
183-
id: app-token
184-
with:
185-
app-id: ${{ vars.SLICER_APP_ID }}
186-
private-key: ${{ secrets.SLICER_APP_PRIVATE_KEY }}
187-
owner: Slicer
188-
repositories: |
189-
apidocs.slicer.org
190-
preview.apidocs.slicer.org
191-
192192
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
193193
with:
194194
repository: Slicer/${{ toJSON(steps.collect_inputs.outputs.preview) && 'preview.apidocs.slicer.org' || 'apidocs.slicer.org' }}

0 commit comments

Comments
 (0)