Skip to content

Commit 707a76b

Browse files
authored
chore(ci): tag deployment versions (#38)
1 parent 07a69e9 commit 707a76b

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed
Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
# .github/workflows/sync-main-to-sandbox-production.yml
2-
31
name: Sync main to sandbox-production
42

53
on:
6-
# push:
7-
# branches:
8-
# - main
94
workflow_dispatch:
105

116
permissions:
@@ -17,20 +12,5 @@ jobs:
1712
runs-on: ubuntu-latest
1813

1914
steps:
20-
- name: Checkout code
21-
uses: actions/checkout@v4
22-
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+
- name: Sync main to production branch and increment version
16+
uses: livekit-examples/sandbox-deploy-action

0 commit comments

Comments
 (0)