Update deploy.yml

This commit is contained in:
Ctwo
2024-12-06 19:32:16 +08:00
committed by GitHub
parent 123ca20f7f
commit 89e1f259da
-3
View File
@@ -2,8 +2,6 @@ name: Deploy VitePress Site
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
env:
@@ -53,7 +51,6 @@ jobs:
path: .vitepress/dist
deploy:
if: github.event.pull_request.merged == true
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}