aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabrielgio <gabriel.giovanini@pm.me>2022-03-25 18:31:23 +0100
committergabrielgio <gabriel.giovanini@pm.me>2022-03-25 18:31:23 +0100
commit60e47b9cb1127042c5567c2632936295fd210be5 (patch)
treee8b7b02a8f37f7044c8338260fb14538d61ebe85
parent671c932aea9304aba4e79f5b12bea4c705fb5d93 (diff)
downloadgenpass-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--.gitignore1
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--www/webpack.config.js2
3 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 01c9c21..8001a44 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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",