Skip to content

Commit cb11b40

Browse files
author
a-stjohn
committed
Add note that local,manual script is outdated.
I didn't wanna delete it because it may of use later on for reference?
1 parent 375c8c4 commit cb11b40

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
deploy.py
22
public/
33
resources/
44
node_modules/

deploy.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
#!/usr/bin/env python3
2-
import subprocess
3-
4-
# Get Username
5-
username = input('Enter your username: ')
2+
#### THIS FILE IS OUTDATED ###
63

7-
allowed_users = ['aaron', 'tim', 'jt']
4+
import subprocess
85

9-
web_server_host = "docs1.tn.ixsystems.com"
10-
web_server_dir = "/var/www/html/docs1"
6+
web_server_host = "cdn1.tn.ixsystems.com"
7+
web_server_dir = "/zdata/docs"
118

129
rsync_target = username + "@" + web_server_host + ":" + web_server_dir
1310

@@ -20,4 +17,4 @@
2017
subprocess.run(hugo_command)
2118
subprocess.run(rsync_command)
2219
else:
23-
print('You do not have permission to run this script.')
20+
print('You do not have permission to run this script.')

0 commit comments

Comments
 (0)