Loading .gitlab-ci.yml +4 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,10 @@ saving_script: - docker run -u $(id -u):$(id -g) --entrypoint "/bin/sh" -v "./API:/data" node:20-alpine3.20 -c "cd data && npm init -y &&\ npm install --save puppeteer fs && apk --update --upgrade add chromium &&\ export ENV PUPPETEER_EXECUTABLE_PATH="/usr/bin/chromium-browser && node pre-save_script.js &&\ rm ./*.html && cd saved_files && for file in *_updated*; do mv \"\$file\" \"\$(echo \"../\$file\" | sed 's/_updated//g')\"; done" rm ./*.html" after_script: - cd saved_files - for file in *_updated*; do mv "$file" "$(echo "../$file" | sed 's/_updated//g')"; done artifacts: paths: - ./API Loading Loading
.gitlab-ci.yml +4 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,10 @@ saving_script: - docker run -u $(id -u):$(id -g) --entrypoint "/bin/sh" -v "./API:/data" node:20-alpine3.20 -c "cd data && npm init -y &&\ npm install --save puppeteer fs && apk --update --upgrade add chromium &&\ export ENV PUPPETEER_EXECUTABLE_PATH="/usr/bin/chromium-browser && node pre-save_script.js &&\ rm ./*.html && cd saved_files && for file in *_updated*; do mv \"\$file\" \"\$(echo \"../\$file\" | sed 's/_updated//g')\"; done" rm ./*.html" after_script: - cd saved_files - for file in *_updated*; do mv "$file" "$(echo "../$file" | sed 's/_updated//g')"; done artifacts: paths: - ./API Loading