Skip to content

Commit 30f81f6

Browse files
author
Blobstr Technologies
committed
Add sync workflow
1 parent 67d0ef5 commit 30f81f6

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/sync.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# .github/workflows/sync.yml
2+
name: Sync with Upstream
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
sync:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout Code
15+
uses: actions/checkout@v2
16+
17+
- name: Sync with Upstream
18+
run: |
19+
git remote add upstream https://github.com/louislam/uptime-kuma.git
20+
git fetch upstream
21+
git checkout master
22+
git merge upstream/master --no-edit
23+
git push origin master

0 commit comments

Comments
 (0)