Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Release
on:
pull_request:
types: [closed]
push:
branches:
- release

Expand All @@ -26,8 +25,6 @@ concurrency:
jobs:
build:
name: Build VitePress
# 'merged == true' to prevent from being triggered when PR is closed
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -54,7 +51,6 @@ jobs:

deploy:
name: Deploy to GitHub Pages
if: github.event.pull_request.merged == true
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand All @@ -67,7 +63,6 @@ jobs:

publish-release-note:
name: Publish release note
if: github.event.pull_request.merged == true
needs: deploy
permissions:
contents: write
Expand Down