File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
-
1
+ deploy.py
2
2
public /
3
3
resources /
4
4
node_modules /
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
- import subprocess
3
-
4
- # Get Username
5
- username = input ('Enter your username: ' )
2
+ #### THIS FILE IS OUTDATED ###
6
3
7
- allowed_users = [ 'aaron' , 'tim' , 'jt' ]
4
+ import subprocess
8
5
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 "
11
8
12
9
rsync_target = username + "@" + web_server_host + ":" + web_server_dir
13
10
20
17
subprocess .run (hugo_command )
21
18
subprocess .run (rsync_command )
22
19
else :
23
- print ('You do not have permission to run this script.' )
20
+ print ('You do not have permission to run this script.' )
You can’t perform that action at this time.
0 commit comments