diff --git a/.gitignore b/.gitignore index 642271f..251237e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ -coverage/ \ No newline at end of file +coverage/ +public/ \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..07e0d11 --- /dev/null +++ b/build.sh @@ -0,0 +1,6 @@ +#!/bin/bash +rm -rf public +mkdir -p public +cp index.html public +cp style.css public +cp -r src/ public \ No newline at end of file diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..bc50af2 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,3 @@ + #!/bin/bash + ./build.sh + rsync -r public/ root@melch.pro:/var/www/dump.melch.pro --delete \ No newline at end of file