Skip to content

Commit

Permalink
chore: move starter workflow into subfolder
Browse files Browse the repository at this point in the history
The `.hook` suffix does not make it easy to maintain code in the editor
  • Loading branch information
cotes2020 committed Apr 13, 2024
1 parent 1914c78 commit 7808ee1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
File renamed without changes.
7 changes: 3 additions & 4 deletions tools/init
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7808ee1

Please sign in to comment.