aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabrielgio <gabriel.giovanini@pm.me>2022-03-25 18:20:28 +0100
committergabrielgio <gabriel.giovanini@pm.me>2022-03-25 18:20:28 +0100
commit671c932aea9304aba4e79f5b12bea4c705fb5d93 (patch)
tree52bbb2feb356233cc4914de353fdf5d54621a614
parented203f99dd8625d5c601e6f0b1bedfdc181517dd (diff)
downloadgenpass-671c932aea9304aba4e79f5b12bea4c705fb5d93.tar.gz
genpass-671c932aea9304aba4e79f5b12bea4c705fb5d93.tar.bz2
genpass-671c932aea9304aba4e79f5b12bea4c705fb5d93.zip
feat: Add gitlab pipeline
Add gitlab pipeline file so it will build to pages.
-rw-r--r--.gitlab-ci.yml16
-rw-r--r--www/index.html3
2 files changed, 18 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..1aeb1fa
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,16 @@
+image: alpine:3
+
+pages:
+ before_script:
+ - export PATH="$PATH:$HOME/.cargo/bin"
+ - apk add npm make curl build-base
+ - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --quiet -y
+ - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
+ script:
+ - make
+ artifacts:
+ paths:
+ - www/dist
+ only:
+ refs:
+ - master
diff --git a/www/index.html b/www/index.html
index 2910ad5..8007121 100644
--- a/www/index.html
+++ b/www/index.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="/bulma.min.css">
- <title>Password generator</title>
+ <title>[WIP] Password generator</title>
</head>
<body>
<section class="section">
@@ -12,6 +12,7 @@
<h1 class="title">
Password Generator
</h1>
+ <label>This is a work in progress</label>
<h2 class="subtitle" id="password">
password
</h2>