File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Documents
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - ' dev'
7+ types : [ closed ]
8+ release :
9+ types :
10+ - published
11+
12+ jobs :
13+ merge :
14+ runs-on : ubuntu-latest
15+ if : github.event.pull_request.merged == true || github.event.release.action == 'released'
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Merge dev to main
19+ run : |
20+ git checkout main
21+ git pull --no-rebase origin dev
22+ git push origin main
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - ' *'
7+ - ' !main'
78 paths :
89 - " app/**/*.js"
910 - " app/**/*.vue"
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - ' *'
7+ - ' !main'
78 paths :
89 - " docs/**/*.js"
910 - " docs/**/*.ts"
You can’t perform that action at this time.
0 commit comments