We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8d8767 commit 9de8460Copy full SHA for 9de8460
.github/scripts/deploy_deepgit.sh
@@ -3,21 +3,21 @@
3
4
# pull deploy branch
5
cd ~/projects/deepgit
6
-git pull origin deploy --quiet
+git pull origin deploy
7
8
# build and deploy the frontend
9
10
-npm --silent install
+npm install
11
rm -rf dist
12
-npm run --silent build
+npm run build
13
touch dist/$(git log -1 --pretty=format:%H)
14
sudo rm -rf /var/www/deepgit-app/*
15
sudo cp -rf ~/projects/deepgit/dist/* /var/www/deepgit-app/.
16
17
# build and deploy the backend
18
19
cd backend
20
-~/projects/deepgit/.venv/bin/pip install -r requirements.txt --quiet
+~/projects/deepgit/.venv/bin/pip install -r requirements.txt
21
22
# restart nginx and gunicorn
23
sudo systemctl restart nginx
0 commit comments