Add deploy script
This commit is contained in:
2
dist/index.html
vendored
2
dist/index.html
vendored
@@ -6,7 +6,7 @@
|
|||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<link rel="stylesheet" href="styles/main.css">
|
<link rel="stylesheet" href="styles/main.css?v=0.0.1">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
13
fabfile.py
vendored
Normal file
13
fabfile.py
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
from fabric.api import cd, env, run
|
||||||
|
|
||||||
|
env.use_ssh_config = True
|
||||||
|
env.hosts = ['dreamcast.neuf.no']
|
||||||
|
env.project_path = '/var/www/neuf.no/edb/edb-www'
|
||||||
|
env.user = 'gitdeploy'
|
||||||
|
|
||||||
|
|
||||||
|
def deploy():
|
||||||
|
with cd(env.project_path):
|
||||||
|
run('git pull')
|
||||||
|
# run('yarn')
|
||||||
|
# run('gulp')
|
Reference in New Issue
Block a user