Skip to content

Commit

Permalink
✅ add author input
Browse files Browse the repository at this point in the history
  • Loading branch information
yi-Xu-0100 committed Jan 31, 2021
1 parent d46555b commit d185e34
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/sync2gitee.list.org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ on:
workflow_dispatch:
inputs:
debug:
description: 'hub mirror debug'
description: 'debug of hub mirror action'
required: false
default: 'false'
version:
description: 'hub mirror version'
description: 'version of hub mirror action'
required: false
default: 'master'
author:
description: 'author hub mirror action'
required: false
default: 'Yikun'
schedule:
# UTC 17:30 -> CST (China) 1:30 see https://datetime360.com/cn/utc-cst-china-time/
- cron: '30 17 * * *'
Expand Down Expand Up @@ -50,7 +54,7 @@ jobs:
user: OI-wiki

- name: Mirror hub with cache and list
uses: Yikun/hub-mirror-action@${{ github.event.inputs.version }}
uses: ${{ github.event.inputs.author }}/hub-mirror-action@${{ github.event.inputs.version }}
with:
src: github/OI-wiki
dst: gitee/yi-xu-test-organization
Expand Down

0 comments on commit d185e34

Please sign in to comment.