[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [donate-static/master] Fix syntax error in CI file



commit 3c26292ba51e27ec7e8f1279dd73ce8422f07035
Author: kez <kez@xxxxxxxxxxxxxx>
Date:   Wed Oct 20 11:14:43 2021 -0700

    Fix syntax error in CI file
---
 .gitlab-ci.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index db9d965f..dd31c274 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,5 @@
 image: debian:buster-slim
 
-
 # This template should be usable on any system that's based on apt.
 # taken from tor gitlabci
 
@@ -42,8 +41,7 @@ pages:
   stage: build
   script:
     - *apt-template
-    - DEBIAN_FRONTEND=noninteractive apt-get install gettext npm nodejs python3-babel python3-pip git python3-inifile python3-dev python3-setuptools python3-openssl python3-cryptography i18nspector apt-utils ca-certificates -y
-    - npm install -g npm@latest
+    - DEBIAN_FRONTEND=noninteractive apt-get install gettext python3-babel python3-pip git python3-inifile python3-dev python3-setuptools python3-openssl python3-cryptography i18nspector apt-utils ca-certificates -y
     - pip3 install virtualenv
     - virtualenv venv
     - source venv/bin/activate
@@ -55,7 +53,7 @@ pages:
     - lektor project-info --output-path
     - lektor plugins reinstall
     - echo 'building lektor 3 more times to get translations in place'
-    - for i in {1..3}; do lektor build --output-path public -f npm
+    - for i in {1..3}; do lektor build --output-path public -f npm; done
   artifacts:
     paths:
       - public



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits