Skip to content

Commit d4445d2

Browse files
committed
Allow running CI in branches, but don't publish
1 parent 0023202 commit d4445d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: MacVim Documentation Build
22

33
on:
44
push:
5-
branches:
6-
- 'main'
75
schedule:
86
- cron: "50 3 * * *" # 3:50 am UTC every day. Just a random time intentionally picked to be not during busy hours.
97
workflow_dispatch:
@@ -70,6 +68,8 @@ jobs:
7068
deploy:
7169
needs: build
7270

71+
if: ${{ github.ref == 'refs/heads/main' }}
72+
7373
permissions:
7474
pages: write # to deploy to Pages
7575
id-token: write # to verify the deployment originates from an appropriate source

0 commit comments

Comments
 (0)