mirror of
https://github.com/ITStudioOUC/ITStudio-Wiki.git
synced 2026-06-15 13:06:30 +00:00
Update deploy.yml
This commit is contained in:
@@ -2,8 +2,6 @@ name: Deploy VitePress Site
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
pull_request:
|
|
||||||
branches: [main]
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@@ -53,7 +51,6 @@ jobs:
|
|||||||
path: .vitepress/dist
|
path: .vitepress/dist
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
if: github.event.pull_request.merged == true
|
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
|||||||
Reference in New Issue
Block a user