Skip to content

Commit

Permalink
Update stable_nightly_update.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengt900 authored Apr 30, 2024
1 parent bf7b7bb commit 588f5eb
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/stable_nightly_update.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
on:
schedule:
- cron: '0 0 * * *' # Run daily at midnight
- cron: '25 14 * * *' # Run at 10:25am EDT (14:25 UTC)

push:
branches: [ "feature/update-ci" ]

jobs:
stable_nightly_update:
Expand All @@ -11,12 +11,14 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Merge develop into main
if: github.ref == 'refs/heads/feature/update-ci'
run: |
echo ${{ github.ref }}
git checkout main
git pull origin main
git checkout main_test
git pull origin main_test
git merge origin/feature/update-ci --no-edit
#git push origin main_test

0 comments on commit 588f5eb

Please sign in to comment.