ci: Sync repository to gitee

This commit is contained in:
禾几海
2021-03-15 22:12:49 +08:00
committed by GitHub
parent eacb2e29f3
commit 9eea5b3db9

View File

@@ -22,5 +22,16 @@ jobs:
with: with:
java-version: 1.8 java-version: 1.8
- name: Sync repository
uses: x-dr/sync-repo-to-gitee@v1.0
env:
# 在 Settings->Secrets 配置 GITEE_KEY
SSH_KEY: ${{ secrets.GITEE_KEY }}
with:
# GitHub存储库的SSH URL.
github-repo: git@github.com:xiaohai2271/blog-backEnd.git
# Gitee存储库的SSH URL.
gitee-repo: git@gitee.com:xiaohai2271/blog-backEnd.git
- name: Deploy - name: Deploy
run: mvn -B test --file pom.xml && curl http://bt.celess.cn:2271/hook?access_key=$KEY run: mvn -B test --file pom.xml && curl http://bt.celess.cn:2271/hook?access_key=$KEY