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
2 changed files with 3 additions and 4 deletions
|
@ -87,10 +87,9 @@ init_files() {
|
||||||
rm -rf .github
|
rm -rf .github
|
||||||
else
|
else
|
||||||
## Change the files of `.github`
|
## Change the files of `.github`
|
||||||
mv .github/workflows/$ACTIONS_WORKFLOW.hook .
|
mv .github/workflows/starter/$ACTIONS_WORKFLOW .
|
||||||
rm -rf .github
|
rm -rf .github && mkdir -p .github/workflows
|
||||||
mkdir -p .github/workflows
|
mv ./$ACTIONS_WORKFLOW .github/workflows/${ACTIONS_WORKFLOW}
|
||||||
mv ./${ACTIONS_WORKFLOW}.hook .github/workflows/${ACTIONS_WORKFLOW}
|
|
||||||
|
|
||||||
## Cleanup image settings in site config
|
## Cleanup image settings in site config
|
||||||
_sedi "s/^cdn:.*/cdn:/;s/^avatar:.*/avatar:/" _config.yml
|
_sedi "s/^cdn:.*/cdn:/;s/^avatar:.*/avatar:/" _config.yml
|
||||||
|
|
Loading…
Reference in a new issue