diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml deleted file mode 100644 index ac21ac553f6c80428b5c398306b08cb1e7f9f2e1..0000000000000000000000000000000000000000 --- a/.github/workflows/sync.yml +++ /dev/null @@ -1,45 +0,0 @@ -# This workflow will build a Java project with Maven -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven - -name: github code to gitee - -on: - push: - branches: [ master,dev ] - pull_request: - branches: [ master,dev ] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Mirror the Github organization repos to Gitee. - uses: Yikun/hub-mirror-action@master - with: - src: pig-mesh/pig - dst: log4j/pig - dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} - dst_token: ${{ secrets.GITEE_TOKEN }} - account_type: org - - - name: success - if: ${{ success() }} - uses: fifsky/dingtalk-action@master - with: - url: ${{ secrets.DINGTALK_WEBHOOK}} - type: markdown - content: | - # đŸ’¯đŸ‘¨â€đŸ’ģ Success 🎉🎉🎉 - > Github Action: github to gitee success - > ^_^ from github action message - - - name: failure - if: ${{ failure() }} - uses: fifsky/dingtalk-action@master - with: - url: ${{ secrets.DINGTALK_WEBHOOK}} - type: markdown - content: | - # 💤🤷‍♀ī¸ failure 🙅‍♂ī¸đŸ’Ŗ - > Github Action: github to gitee failure - > (⋟īšâ‹ž) from github action message