Skip to content
Snippets Groups Projects
Commit 0b07ef79 authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Update .deploy.sh

parent 1c90b7c0
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
set -e set -e
printf "\n\n\n\n-------\n\n"
echo $(date --rfc-3339=seconds) echo $(date --rfc-3339=seconds)
SOURCE="${BASH_SOURCE[0]}" SOURCE="${BASH_SOURCE[0]}"
...@@ -14,9 +16,9 @@ DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" ...@@ -14,9 +16,9 @@ DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
cd $DIR cd $DIR
git fetch origin # > /dev/null 2>> deploy.log git fetch origin
git reset --hard origin/master # > /dev/null 2>> deploy.log git reset --hard origin/master
bower install # --allow-root > /dev/null 2>> deploy.log bower install
curl --request POST 'https://push.dbogatov.org/api/push/deploy' --data "project=Inara-CV" curl --request POST 'https://push.dbogatov.org/api/push/deploy' --data "project=Inara-CV"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment