We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9c8a03 commit 56d75b5Copy full SHA for 56d75b5
1 file changed
.github/workflows/mirror.yml
@@ -0,0 +1,21 @@
1
+name: Mirror org repo to personal repo
2
+
3
+on:
4
+ schedule:
5
+ - cron: '0 0 * * *'
6
+ workflow_dispatch:
7
8
+jobs:
9
+ mirror:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Clone source repository
14
+ run: |
15
+ git clone --mirror https://x-access-token:${{ secrets.MIRROR_TOKEN }}@github.com/nushdev/nush-app-vue.git repo
16
17
+ - name: Push to mirror repository
18
19
+ cd repo
20
+ git remote set-url origin https://x-access-token:${{ secrets.MIRROR_TOKEN }}@github.com/Spleefies/nush-app-vue-mirror.git
21
+ git push --mirror
0 commit comments