Skip to content

Commit 8bddc28

Browse files
committed
[skip ci] deploy the release doc before the gh release
1 parent 032ee69 commit 8bddc28

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7777
with:
7878
toTag: "main"
79-
79+
8080
- name: Configure git
8181
run: |
8282
git config --global user.name "${GITHUB_ACTOR}"
@@ -110,12 +110,6 @@ jobs:
110110
password: ${{ secrets.PYPI_API_TOKEN }}
111111
packages-dir: dist/
112112

113-
- name: Create GitHub Release
114-
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
115-
with:
116-
tag_name: ${{ inputs.release-version }}
117-
body: ${{steps.github_release.outputs.changelog}}
118-
119113
- name: Deploy the doc
120114
run: |
121115
echo "Get the gh-pages branch"
@@ -124,3 +118,9 @@ jobs:
124118
echo "Build and deploy the doc on ${{ inputs.release-version }}"
125119
mike deploy --push --force stable
126120
mike deploy --push --force ${{ inputs.release-version }}
121+
122+
- name: Create GitHub Release
123+
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
124+
with:
125+
tag_name: ${{ inputs.release-version }}
126+
body: ${{steps.github_release.outputs.changelog}}

0 commit comments

Comments
 (0)