kamal init
Created configuration file in config/deploy.yml
Created sample hooks in .kamal/hooks
Step 2:
git status
On branch main
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: .kamal/hooks/post-deploy.sample
new file: .kamal/hooks/post-traefik-reboot.sample
new file: .kamal/hooks/pre-build.sample
new file: .kamal/hooks/pre-connect.sample
new file: .kamal/hooks/pre-deploy.sample
new file: .kamal/hooks/pre-traefik-reboot.sample
new file: config/deploy.yml
Delete sample hook files now. Keep the folder.
Step 3:
kamal init
Created configuration file in config/deploy.yml
Delete folder as well.
Step 4:
kamal init
Config file already exists in config/deploy.yml (remove first to create a new one)
Created sample hooks in .kamal/hooks
If .kamal/hooks file exists but sample hooks are deleted.
kamal init
command is not creating sample hooks.Results for /bin/test
Step 1:
Step 2:
Delete sample hook files now. Keep the folder.
Step 3:
Delete folder as well.
Step 4: