diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2023-09-22 22:50:35 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2023-09-22 22:50:35 +0200 |
| commit | 7c8a9ce4fc71719f0913affc260ed5ced4578098 (patch) | |
| tree | 56527260c44325ae00027750eeadbcd59060a137 /deploy.sh | |
| parent | d98b76c18cb7cac0941211290b41748d3cc25f97 (diff) | |
feat: Deploy working version
Diffstat (limited to 'deploy.sh')
| -rw-r--r-- | deploy.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..fa24151 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,6 @@ +#!/bin/sh +sudo mv kagamino_blog.conf /etc/apache2/sites-available/ +sudo ln -fs /etc/apache2/sites-available/kagamino_blog.conf /etc/apache2/sites-enabled/ +sudo rsync -avz --delete kagamino_blog/ /var/www/kagamino_blog/ +sudo chown -R www-data:www-data /var/www/kagamino_blog +sudo service apache2 restart
\ No newline at end of file |
