Skip to content

Merge pull request #417 from FabEdge/revert-415-fix-cloud-edge-host-com #151

Merge pull request #417 from FabEdge/revert-415-fix-cloud-edge-host-com

Merge pull request #417 from FabEdge/revert-415-fix-cloud-edge-host-com #151

Workflow file for this run

name: sync2gitee
on:
push:
tags:
- '*'
branches:
- 'main'
jobs:
repo-sync:
env:
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
gitee_user: ${{ secrets.GITEE_USER }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: sync github -> gitee
uses: Yikun/hub-mirror-action@master
if: env.dst_key && env.dst_token && env.gitee_user
with:
src: 'github/${{ github.repository_owner }}'
dst: 'gitee/${{ secrets.GITEE_USER }}'
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
account_type: org
static_list: ${{ github.event.repository.name }}