add deploy task
This commit is contained in:
parent
6ce020f6a1
commit
f928cd26b1
@ -6,6 +6,11 @@ vars:
|
|||||||
GREETING: Hello, World!
|
GREETING: Hello, World!
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
deploy:
|
||||||
|
deps: [build]
|
||||||
|
cmds:
|
||||||
|
- rsync -av build/ bggsell@gilgamesh:public_html
|
||||||
|
|
||||||
build:
|
build:
|
||||||
cmds:
|
cmds:
|
||||||
- vite build
|
- vite build
|
||||||
|
20
contrib/nginx-bggsell.conf
Normal file
20
contrib/nginx-bggsell.conf
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
server {
|
||||||
|
listen 443;
|
||||||
|
listen [::]:443;
|
||||||
|
|
||||||
|
ssl_certificate /etc/lego/certificates/_.babyl.ca.crt;
|
||||||
|
ssl_certificate_key /etc/lego/certificates/_.babyl.ca.key;
|
||||||
|
|
||||||
|
server_name bgg.babyl.ca;
|
||||||
|
|
||||||
|
access_log /var/log/nginx/bgg.log;
|
||||||
|
error_log /var/log/nginx/bgg-error.log;
|
||||||
|
|
||||||
|
client_max_body_size 10M;
|
||||||
|
|
||||||
|
root /home/bggsell/public_html;
|
||||||
|
index index.html;
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ $uri.html /index.html =404;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user