diff options
author | gabrielgio <gabriel.giovanini@pm.me> | 2022-03-25 18:31:23 +0100 |
---|---|---|
committer | gabrielgio <gabriel.giovanini@pm.me> | 2022-03-25 18:31:23 +0100 |
commit | 60e47b9cb1127042c5567c2632936295fd210be5 (patch) | |
tree | e8b7b02a8f37f7044c8338260fb14538d61ebe85 | |
parent | 671c932aea9304aba4e79f5b12bea4c705fb5d93 (diff) | |
download | genpass-60e47b9cb1127042c5567c2632936295fd210be5.tar.gz genpass-60e47b9cb1127042c5567c2632936295fd210be5.tar.bz2 genpass-60e47b9cb1127042c5567c2632936295fd210be5.zip |
fix: Move build output
Move from `www/dist` to `public`. This should solve gitlab pages
returning 404.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | www/webpack.config.js | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -2,6 +2,7 @@ target/ bin/ pkg/ .idea/ +public/ npm_modules/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1aeb1fa..6655399 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ pages: - make artifacts: paths: - - www/dist + - public only: refs: - master diff --git a/www/webpack.config.js b/www/webpack.config.js index 6d82e1f..98cfec8 100644 --- a/www/webpack.config.js +++ b/www/webpack.config.js @@ -4,7 +4,7 @@ const path = require('path'); module.exports = { entry: "./bootstrap.js", output: { - path: path.resolve(__dirname, "dist"), + path: path.resolve(__dirname, "../public"), filename: "bootstrap.js", }, mode: "development", |