We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcd9fb4 commit 7bae5caCopy full SHA for 7bae5ca
.github/workflows/manual.yml
@@ -0,0 +1,32 @@
1
+name: Synchronize to forked repo
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+
7
+jobs:
8
+ sync:
9
+ name: Sync forked repo
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout master
14
+ uses: actions/checkout@v4
15
+ with:
16
+ token: ${{ secrets.FORKED_REPO_TOKEN }}
17
+ fetch-depth: 0
18
+ ref: main
19
20
+ - name: Add remote-url
21
+ run: |
22
+ git remote add forked-repo https://KAIST-VIL:${{ secrets.FORKED_REPO_TOKEN }}@github.com/KAIST-VIL/lab-page-template
23
+ git config user.name SeungAhSon
24
+ git config user.email gongsoonyee@gmail.com
25
26
+ - name: Push changes to forked-repo
27
28
+ git push -f forked-repo main
29
30
+ - name: Clean up
31
32
+ git remote remove forked-repo
0 commit comments