Skip to content

Commit 6320f18

Browse files
committed
Automatically deploy if github release was scheduled
1 parent 87eb154 commit 6320f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/on-release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
100100
deploy:
101101
# do not execute on forks
102-
if: ${{ github.repository == 'HackYourFuture/CourseHub' && inputs.deploy }}
102+
if: ${{ github.repository == 'HackYourFuture/CourseHub' && (github.event_name == 'push' || inputs.deploy) }}
103103
needs: [build-course-hub-backend, build-course-hub-frontend]
104104
permissions:
105105
contents: read

0 commit comments

Comments
 (0)