Browse Source

modified: .gitignore

	new file:   deploy.sh
Mike Holloway 6 months ago
parent
commit
48f0412af5
2 changed files with 11 additions and 0 deletions
  1. 3
    0
      .gitignore
  2. 8
    0
      deploy.sh

+ 3
- 0
.gitignore View File

@@ -88,6 +88,9 @@ celerybeat-schedule
88 88
 venv/
89 89
 ENV/
90 90
 
91
+# Live Deploy of site
92
+live/
93
+
91 94
 # Spyder project settings
92 95
 .spyderproject
93 96
 

+ 8
- 0
deploy.sh View File

@@ -0,0 +1,8 @@
1
+#!/bin/bash
2
+if [[ $(pwd) =~ "libre.audio"$ ]]
3
+  then
4
+	  echo "Deploying Site Files..."
5
+	  rsync -av work/* live/
6
+  else
7
+	  echo "Fatal: You are in $(pwd). Please run in the libre.audio root directory.";
8
+fi

Loading…
Cancel
Save