script to deploy to local web server

This commit is contained in:
ktyl 2022-05-17 09:05:33 +01:00
parent a3dc9feb8f
commit 66fcf745ee
1 changed files with 10 additions and 0 deletions

10
local Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
outdir=site
dest="/srv/http/"
make clean
make run
sudo rm -r $dest/*
sudo cp -r $outdir/* $dest