Skip to content

Commit 9af805a

Browse files
Revert "test nightly build"
This reverts commit 639f691.
1 parent 639f691 commit 9af805a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: .github/workflows/build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: build
22

33
on:
44
push:
5+
branches:
6+
- main
57
schedule:
68
- cron: '0 4 * * MON-FRI' # run every weekday at 4AM (https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule)
79
workflow_dispatch:
@@ -68,6 +70,7 @@ jobs:
6870

6971
publish:
7072
needs: build
73+
if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main')
7174
runs-on: ubuntu-latest
7275
environment: production
7376
permissions:

0 commit comments

Comments
 (0)