We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a32c42 + 89638e1 commit 3148a7cCopy full SHA for 3148a7c
.github/workflows/autoSync.yml
@@ -0,0 +1,32 @@
1
+name: Synchronize to forked repo
2
+on:
3
+ push:
4
+ branches:
5
+ - develop
6
+
7
+jobs:
8
+ sync:
9
+ name: Sync forked repo
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout develop
14
+ uses: actions/checkout@v4
15
+ with:
16
+ token: ${{ secrets.AUTO_SYNC_TOKEN }}
17
+ fetch-depth: 0
18
+ ref: develop
19
20
+ - name: Add remote-url
21
+ run: |
22
+ git remote add forked-repo https://tnals0924:${{ secrets.AUTO_SYNC_TOKEN }}@github.com/tnals0924/billilge-frontend
23
+ git config user.name tnals0924
24
+ git config user.email ${{ secrets.EMAIL }}
25
26
+ - name: Push changes to forked-repo
27
28
+ git push -f forked-repo develop
29
30
+ - name: Clean up
31
32
+ git remote remove forked-repo
0 commit comments