Skip to content

Commit 19362c2

Browse files
authored
Merge pull request #19 from kingsoftcloud/new-main
fix(ci): publish-pypi.yml deploy-pages environment 移到 job 级
2 parents b0d87bd + 2204e5b commit 19362c2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ jobs:
6161
deploy-pages:
6262
needs: publish
6363
runs-on: ubuntu-latest
64+
environment:
65+
name: github-pages
66+
url: ${{ steps.deploy.outputs.page_url }}
6467
defaults:
6568
run:
6669
working-directory: docs-site
@@ -94,6 +97,3 @@ jobs:
9497
- name: Deploy to GitHub Pages
9598
id: deploy
9699
uses: actions/deploy-pages@v4
97-
environment:
98-
name: github-pages
99-
url: ${{ steps.deploy.outputs.page_url }}

0 commit comments

Comments
 (0)