Skip to content

Commit ed367a3

Browse files
committed
build exposition only on push
1 parent 542b0cd commit ed367a3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/blueprint.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,19 @@ jobs:
6060
./scripts/build_docs.sh
6161
6262
- name: Clone lean-exposition
63+
if: github.event_name == 'push'
6364
run: |
6465
git clone --depth 1 --branch "$LEAN_EXPOSITION_REF" \
6566
"https://github.com/$LEAN_EXPOSITION_REPO" /tmp/lean-exposition
6667
6768
- name: Build exposition binary
69+
if: github.event_name == 'push'
6870
run: |
6971
cd /tmp/lean-exposition && lake build exposition
7072
echo "EXPOSITION_BIN=/tmp/lean-exposition/.lake/build/bin/exposition" >> "$GITHUB_ENV"
7173
7274
- name: Build exposition documentation
75+
if: github.event_name == 'push'
7376
run: |
7477
lake env "$EXPOSITION_BIN" \
7578
--root LeanMachineLearning \

0 commit comments

Comments
 (0)