Skip to content

Commit 142d026

Browse files
authored
ci: add scheduled nightly deploy (#12650) [ci skip]
1 parent c5f456c commit 142d026

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/ci-test-website.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI - Website
1+
name: CI - website
22

33
on:
44
pull_request:

.github/workflows/deploy.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
name: Deploy
22

33
on:
4+
# Manual deployment trigger
45
workflow_dispatch:
56
inputs:
67
deploy_type:
7-
description: 'deploy type'
8+
description: 'type'
89
required: true
910
type: choice
1011
options:
1112
- 'nightly'
1213
- 'latest'
1314
default: 'nightly'
1415

16+
# Scheduled nightly deployments
17+
schedule:
18+
- cron: '0 0 * * *' # Runs daily at midnight UTC
19+
1520
jobs:
1621
deploy-nightly:
17-
if: ${{ github.event.inputs.deploy_type == 'nightly' }}
22+
if: ${{ github.event.inputs.deploy_type == 'nightly' || github.event_name == 'schedule' }}
1823
runs-on: ubuntu-latest
1924
steps:
2025
- uses: actions/checkout@v4

.github/workflows/issue-comment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Issue - Comment on Close
1+
name: Issue - comment on close
22

33
on:
44
issues:

.github/workflows/issue-reopen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Issue - Reopen on Comment
1+
name: Issue - reopen on comment
22

33
on:
44
issue_comment:

0 commit comments

Comments
 (0)