Skip to content

Commit

Permalink
chore: docs CI only on push
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonfmir committed Mar 8, 2024
1 parent 351e248 commit 7732d64
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: docs
on:
push:
branches: ["main"]

pull_request:
branches: ["main"]

workflow_dispatch:

Expand Down Expand Up @@ -34,10 +31,11 @@ jobs:
with:
repository: verified-optimization/CvxLean
path: CvxLean
- name: Build egg-pre-dcp and CvxLean
- name: Build egg-pre-dcp, CvxLean, and CvxLeanTest
working-directory: CvxLean
run: |
./build.sh
lake build CvxLeanTest
- name: Create dummy docs project
run: |
# Taken from https://github.com/leanprover-community/mathlib4_docs
Expand Down

0 comments on commit 7732d64

Please sign in to comment.