when-am-i / commit
ci pasta
.gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 080bcf7..fd6e496 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,10 +3,11 @@ image: node:lts create-pages: pages: # The folder that contains the files to be exposed at the Page URL - publish: public + publish: dist rules: # This ensures that only pushes to the default branch will trigger # a pages deploy - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH script: + - npm install - npm run build