Skip to content

Commit deb8ce8

Browse files
authored
[CI] Add nightly merge workflow for gh-pages (#363)
* Added nightly merge workflow * Fixed branch names
1 parent 021ba42 commit deb8ce8

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 'Nightly Merge'
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
nightly-merge:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0 # Full clone necessary for proper merge
18+
19+
- name: Merge main into gh-pages
20+
uses: robotology/[email protected]
21+
with:
22+
stable_branch: 'main'
23+
development_branch: 'gh-pages'
24+
allow_ff: false
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)