You must create a .env
file with the contents of .env.example
and set the URL of your repo for the commit footer.
Example URL: https://github.com/BuyMyMojo/aria.coffee/
- Notice the trailing /
, this is required
On dev machine:
pnpm run build && rm -r ./dist-new && mv ./dist ./dist-new && croc send ./dist-new
on server:
CROC_SECRET="XXXX-word-word-word" croc
rm -r ./dist-old/ && mv ./dist ./dist-old && mv ./dist-new ./dist