Skip to content

Commit

Permalink
fix ignore .nojekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanderZhao committed Oct 21, 2020
1 parent 97ceaf6 commit df54902
Show file tree
Hide file tree
Showing 7 changed files with 1,113 additions and 23 deletions.
25 changes: 25 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ inputs:
description: 'Default false, if plugins need last edit time, set true'
required: false
default: false
source_file_without_prefix:
description: 'Default true, if you want to ignore file without prefix please set false'
required: true
default: true
publish_token:
description: 'Default token, if not please add (clone push)'
required: false
Expand Down Expand Up @@ -77,6 +81,10 @@ inputs:
description: 'Default null, can set www.example.com example.com ...'
required: false
default: 'null'
publish_nojekyll:
description: 'Default false, if set true, it will add .nojekyll for publish'
required: false
default: 'false'
publish_push_force:
description: 'Default false. Set true will enable git push force'
required: false
Expand Down Expand Up @@ -153,6 +161,10 @@ inputs:
description: 'Default false if plugins need last edit time, set true'
required: false
default: false
source2_file_without_prefix:
description: 'Default true, if you want to ignore file without prefix please set false'
required: true
default: true
publish2_git_name:
description: 'Default git_name, if not please add'
required: false
Expand All @@ -177,6 +189,10 @@ inputs:
description: 'Default gh-pages'
required: false
default: 'gh-pages'
publish2_nojekyll:
description: 'Default false, if set true, it will add .nojekyll for publish2'
required: false
default: 'false'
publish2_dir:
description: ''
required: false
Expand Down Expand Up @@ -229,6 +245,10 @@ inputs:
description: 'Default null'
required: false
default: 'null'
publish3_nojekyll:
description: 'Default false, if set true, it will add .nojekyll for publish3'
required: false
default: 'false'
publish3_push_force:
description: 'Default false. Set true will enable git push force'
required: false
Expand Down Expand Up @@ -266,6 +286,7 @@ runs:
- ${{ inputs.source_branch }}
- ${{ inputs.source_dir }}
- ${{ inputs.source_edit_time }}
- ${{ inputs.source_file_without_prefix }}
- ${{ inputs.publish_token }}
- ${{ inputs.publish_git_name }}
- ${{ inputs.publish_git_email }}
Expand All @@ -276,6 +297,7 @@ runs:
- ${{ inputs.publish_dir }}
- ${{ inputs.publish_commit_history }}
- ${{ inputs.publish_cname }}
- ${{ inputs.publish_nojekyll }}
- ${{ inputs.publish_push_force }}
- ${{ inputs.publish_remove_last_build }}
- ${{ inputs.gitbook_cli_version }}
Expand All @@ -296,6 +318,7 @@ runs:
- ${{ inputs.source2_branch }}
- ${{ inputs.source2_dir }}
- ${{ inputs.source2_edit_time }}
- ${{ inputs.source2_file_without_prefix }}
- ${{ inputs.publish2_git_name }}
- ${{ inputs.publish2_token }}
- ${{ inputs.publish2_git_email }}
Expand All @@ -306,6 +329,7 @@ runs:
- ${{ inputs.publish2_commit_history }}
- ${{ inputs.publish2_dir }}
- ${{ inputs.publish2_cname }}
- ${{ inputs.publish2_nojekyll }}
- ${{ inputs.publish2_push_force }}
- ${{ inputs.publish2_remove_last_build }}
- ${{ inputs.publish3_git_name }}
Expand All @@ -318,6 +342,7 @@ runs:
- ${{ inputs.publish3_commit_history }}
- ${{ inputs.publish3_dir }}
- ${{ inputs.publish3_cname }}
- ${{ inputs.publish3_nojekyll }}
- ${{ inputs.publish3_push_force }}
- ${{ inputs.publish3_remove_last_build }}
- ${{ inputs.not_clean }}
Expand Down
Loading

0 comments on commit df54902

Please sign in to comment.