mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-07 16:17:50 +00:00
chore: move starter workflow into subfolder
The `.hook` suffix does not make it easy to maintain code in the editor
This commit is contained in:
parent
1914c786a0
commit
7808ee157c
@ -87,10 +87,9 @@ init_files() {
|
||||
rm -rf .github
|
||||
else
|
||||
## Change the files of `.github`
|
||||
mv .github/workflows/$ACTIONS_WORKFLOW.hook .
|
||||
rm -rf .github
|
||||
mkdir -p .github/workflows
|
||||
mv ./${ACTIONS_WORKFLOW}.hook .github/workflows/${ACTIONS_WORKFLOW}
|
||||
mv .github/workflows/starter/$ACTIONS_WORKFLOW .
|
||||
rm -rf .github && mkdir -p .github/workflows
|
||||
mv ./$ACTIONS_WORKFLOW .github/workflows/${ACTIONS_WORKFLOW}
|
||||
|
||||
## Cleanup image settings in site config
|
||||
_sedi "s/^cdn:.*/cdn:/;s/^avatar:.*/avatar:/" _config.yml
|
||||
|
Loading…
x
Reference in New Issue
Block a user