From 507b1bb57ec64d482a296f8ce4ff90f711bc0dac Mon Sep 17 00:00:00 2001 From: Leon Xu <6479451-leonxu260@users.noreply.gitlab.com> Date: Thu, 26 Aug 2021 23:51:05 -0700 Subject: [PATCH] doc: remove sudo command --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 48ed7b0..c31fd70 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ before_script: - apt update -qy # Check for update - apt install -y lftp # Install lftp - apt install curl -y # Install curl - - curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash - + - curl -fsSL https://deb.nodesource.com/setup_current.x | bash - apt install nodejs -y # Install NodeJS - npm install -g hexo-cli # Install Hexo itself - npm install # Install Hexo modules and dependencies