浏览代码

update squash.yml file to run pip install for the current branch

Evandro Miquelito 6 年之前
父节点
当前提交
2a1d5b6065
共有 1 个文件被更改,包括 7 次插入2 次删除
  1. 7 2
      .squash.yml

+ 7 - 2
.squash.yml

@@ -2,9 +2,14 @@ deployments:
   default:
     dockerimage: python:latest
     build_steps:
-      - apt-get update && apt-get install -y libssl-dev libpq-dev git build-essential libfontconfig1 libfontconfig1-dev
+      - apt-get update && apt-get install -y libssl-dev libpq-dev git build-essential libfontconfig1 libfontconfig1-dev curl
+      - RUN bash -c "curl -sL https://deb.nodesource.com/setup_8.x | bash -"
+      - apt install -y nodejs
+      - cd /code
+      - npm install
+      - npm run dist
       - pip install setuptools pip --upgrade --force-reinstall
-      - pip install wagtail
+      - pip install /code
       - mkdir /myproject
       - cd /myproject
       - wagtail start mysite