From 0ace269b3fb19d94d3bf89ad6f732ccdb433f417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Huan=20LI=20=28=E6=9D=8E=E5=8D=93=E6=A1=93=29?= Date: Tue, 11 Aug 2020 00:35:57 +0800 Subject: [PATCH] add before --- examples/third-parties/gitpod/.gitpod.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/third-parties/gitpod/.gitpod.yml b/examples/third-parties/gitpod/.gitpod.yml index f3a06fb..f9da4dd 100644 --- a/examples/third-parties/gitpod/.gitpod.yml +++ b/examples/third-parties/gitpod/.gitpod.yml @@ -7,6 +7,7 @@ ports: # List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/ tasks: - - init: npm install && wget https://github.com/yudai/gotty/releases/download/v2.0.0-alpha.3/gotty_2.0.0-alpha.3_linux_amd64.tar.gz && tar zxvf ./gotty*.tar.gz && rm -f gotty*.tar.gz # runs during prebuild + - before: wget https://github.com/yudai/gotty/releases/download/v2.0.0-alpha.3/gotty_2.0.0-alpha.3_linux_amd64.tar.gz + init: tar zxvf ./gotty*.tar.gz && rm -f gotty*.tar.gz && npm install command: ./gotty npm start