Skip to content

Commit b718c64

Browse files
committed
push shouldn't be a thing
1 parent 7c65765 commit b718c64

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
schedule:
55
- cron: '0 0 * * *'
66
workflow_dispatch:
7-
push:
8-
branches:
9-
- nightly-release
107

118
jobs:
129
build:
@@ -109,7 +106,7 @@ jobs:
109106
110107
- name: Create Nightly Tag
111108
id: tag_step
112-
if: github.event_name == 'schedule' || github.event_name == 'push'
109+
if: github.event_name == 'schedule'
113110
run: |
114111
DATE=$(date +%Y%m%d)
115112
TAG="-nightly-$DATE" # Combine version and date
@@ -129,5 +126,5 @@ jobs:
129126
tag_name: ${{ steps.tag_release.outputs.tag }}
130127
name: ${{ steps.tag_release.outputs.tag }}
131128
draft: false
132-
prerelease: ${{ github.event_name == 'schedule' || github.event_name == 'push' }}
129+
prerelease: ${{ github.event_name == 'schedule' }}
133130
files: release/*.zip

0 commit comments

Comments
 (0)