File tree Expand file tree Collapse file tree 1 file changed +6
-26
lines changed Expand file tree Collapse file tree 1 file changed +6
-26
lines changed Original file line number Diff line number Diff line change 1- # .github/workflows/sync-main-to-sandbox-production.yml
2-
1+ # .github/workflows/sync-to-production.yaml
32name : Sync main to sandbox-production
43
54on :
6- # push:
7- # branches:
8- # - main
95 workflow_dispatch :
106
11- permissions :
12- contents : write
13- pull-requests : write
14-
157jobs :
168 sync :
179 runs-on : ubuntu-latest
18-
10+ permissions :
11+ contents : write
1912 steps :
20- - name : Checkout code
21- uses : actions/checkout@v4
13+ - uses : livekit-examples/sandbox-deploy-action@v1
2214 with :
23- fetch-depth : 0 # Fetch all history so we can force push
24-
25- - name : Set up Git
26- run : |
27- git config --global user.name 'github-actions[bot]'
28- git config --global user.email 'github-actions[bot]@livekit.io'
29-
30- - name : Sync to sandbox-production
31- env :
32- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33- run : |
34- git checkout sandbox-production || git checkout -b sandbox-production
35- git merge --strategy-option theirs main
36- git push origin sandbox-production
15+ production_branch : ' sandbox-production'
16+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments