Skip to content

Commit 04bdb66

Browse files
init.test.luau ci
1 parent 40a43db commit 04bdb66

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/build-docs.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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
1+
name: Build Docs
42

53
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
4+
workflow_run:
5+
workflows: ["CI"]
6+
types:
7+
- completed
108

119
# Allows you to run this workflow manually from the Actions tab
1210
workflow_dispatch:
@@ -24,8 +22,8 @@ concurrency:
2422
cancel-in-progress: false
2523

2624
jobs:
27-
# Build job
2825
build:
26+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
2927
runs-on: ubuntu-latest
3028
steps:
3129
- name: Checkout

0 commit comments

Comments
 (0)