diff --git a/.github/workflows/pages-deploy.yml.hook b/.github/workflows/starter/pages-deploy.yml similarity index 100% rename from .github/workflows/pages-deploy.yml.hook rename to .github/workflows/starter/pages-deploy.yml diff --git a/tools/init b/tools/init index bf1ef85..dd15c69 100755 --- a/tools/init +++ b/tools/init @@ -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