We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e91c7af commit d72062aCopy full SHA for d72062a
1 file changed
.github/workflows/mirror.yml
@@ -0,0 +1,22 @@
1
+name: Mirror to Gitverse
2
+
3
+on:
4
+ push:
5
+ branches: ["*"]
6
7
+jobs:
8
+ sync:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout repo
12
+ uses: actions/checkout@v4
13
+ with:
14
+ fetch-depth: 0
15
16
+ - name: Mirror to Gitverse
17
+ run: |
18
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
19
+ git config --global user.name "GitHub Actions"
20
21
+ git remote add gitverse https://oauth2:${{ secrets.GITVERSE_TOKEN }}@gitverse.ru/vladelo/FastAPI-Online-Shop.git
22
+ git push --mirror gitverse
0 commit comments