Add deploy steps I use to README.md
This commit is contained in:
parent
e88c5452e1
commit
f2d240ebe2
1 changed files with 15 additions and 0 deletions
15
README.md
15
README.md
|
@ -1 +1,16 @@
|
|||
# Wowie what a gay little website for my gay little self
|
||||
|
||||
## Deploy steps (Pre-rendered website)
|
||||
|
||||
On dev machine:
|
||||
|
||||
```sh
|
||||
pnpm run build && mv ./dist ./dist-new && croc send ./dist-new
|
||||
```
|
||||
|
||||
on server:
|
||||
|
||||
```sh
|
||||
CROC_SECRET="XXXX-word-word-word" croc
|
||||
rm -r ./dist-old/ && mv ./dist ./dist-old && mv ./dist-new ./dist
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue