From 671c932aea9304aba4e79f5b12bea4c705fb5d93 Mon Sep 17 00:00:00 2001 From: gabrielgio Date: Fri, 25 Mar 2022 18:20:28 +0100 Subject: feat: Add gitlab pipeline Add gitlab pipeline file so it will build to pages. --- .gitlab-ci.yml | 16 ++++++++++++++++ www/index.html | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .gitlab-ci.yml 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 @@ - Password generator + [WIP] Password generator
@@ -12,6 +12,7 @@

Password Generator

+

password

-- cgit v1.2.3