Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Chucheng <me@wangchucheng.com>2021-03-18 17:54:19 +0300
committerWang Chucheng <me@wangchucheng.com>2021-03-18 17:54:19 +0300
commit89e11e2b0ee2859906da1aa6887ce0ad66f10c1b (patch)
tree76aaa345f1f4fcd035c0985b7555e51d5a466e4c /.github
parent0167aa7006eb77d91af0bde70bbe20b6c9715517 (diff)
chore: add git repo sync action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/git-repo-sync.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/git-repo-sync.yml b/.github/workflows/git-repo-sync.yml
new file mode 100644
index 0000000..0c5df56
--- /dev/null
+++ b/.github/workflows/git-repo-sync.yml
@@ -0,0 +1,19 @@
+name: sync
+
+on:
+ - push
+ - delete
+
+jobs:
+ sync:
+ runs-on: ubuntu-latest
+ name: Git Repo Sync
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ - uses: wangchucheng/git-repo-sync@main
+ with:
+ target-url: 'https://gitee.com/wangchucheng/hugo-eureka.git'
+ target-username: 'wangchucheng'
+ target-token: ${{ secrets.GITEE_ACCESS_TOKEN }} \ No newline at end of file