openLooKeng gitee repos mirror periodic job #893
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: openLooKeng gitee repos mirror periodic job | |
on: | |
pull_request: | |
# Runs at every pull requests submitted in master branch | |
branches: [ master ] | |
paths: | |
- '.github/workflows/**' | |
schedule: | |
# Runs at 01:00 UTC (9:00 AM Beijing) every day | |
- cron: '0 1 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Mirror the gitee/openlookeng org repos to github/openlookeng. | |
uses: Yikun/hub-mirror-action@v1.0 | |
with: | |
src: gitee/openlookeng | |
dst: github/openlookeng | |
dst_key: ${{ secrets.SYNC_LOOKENG_PRIVATE_KEY }} | |
dst_token: ${{ secrets.SYNC_LOOKENG_TOKEN }} | |
account_type: org | |
static_list: "website,community,hetu-core,hetu-odbc-driver,hetu-odbc-gateway,hetu-maven-plugin,openLooKeng-installation" | |
force_update: true | |
debug: true |