diff --git a/.drone.yml b/.drone.yml index f0c09d9..717c57f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,6 +16,7 @@ steps: - git reset --hard origin/master - name: install commands: + - pwd - npm install - name: restart commands: diff --git a/.gitignore b/.gitignore index 7cdc5de..f4e0da4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ node_modules .vscode .env -index.html +public/index.html diff --git a/output/index.js b/output/index.js index 1f9f3c8..a6ea6ae 100644 --- a/output/index.js +++ b/output/index.js @@ -19,7 +19,7 @@ class Output { } async writeToFile (content) { - const filename = 'index.html' + const filename = './public/index.html' try { await fs.unlinkSync(filename) diff --git a/output/template.hbs b/output/template.hbs index fb4280c..0113977 100644 --- a/output/template.hbs +++ b/output/template.hbs @@ -4,47 +4,8 @@ +