We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40a43db commit 04bdb66Copy full SHA for 04bdb66
.github/workflows/build-docs.yml
@@ -1,12 +1,10 @@
1
-# Sample workflow for building and deploying a VitePress site to GitHub Pages
2
-#
3
-name: Deploy VitePress site to Pages
+name: Build Docs
4
5
on:
6
- # Runs on pushes targeting the `main` branch. Change this to `master` if you're
7
- # using the `master` branch as the default branch.
8
- push:
9
- branches: main
+ workflow_run:
+ workflows: ["CI"]
+ types:
+ - completed
10
11
# Allows you to run this workflow manually from the Actions tab
12
workflow_dispatch:
@@ -24,8 +22,8 @@ concurrency:
24
22
cancel-in-progress: false
25
23
26
jobs:
27
- # Build job
28
build:
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
29
runs-on: ubuntu-latest
30
steps:
31
- name: Checkout
0 commit comments