File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,22 @@ if [[ "$BRANCH" != "master" ]]; then
3636fi
3737
3838
39- pwd
40- ls -lah
41- cd /home/runner && ls -lah
42- cd /home/runner/work && ls -lah
39+ ORIG_DIR=` pwd`
40+ curl -Iv https://registry.yarnpkg.com/ && \
41+ mkdir -p /usr/src/app-frontend && cd /usr/src/app-frontend && \
42+ git clone https://github.com/githubsaturn/caprover-frontend.git && \
43+ cd caprover-frontend && \
44+ git log --max-count=1 && \
45+ yarn install --no-cache --frozen-lockfile --network-timeout 600000 && echo " Installation finished" && \
46+ yarn run build && echo " Building finished" && \
47+ mv ./build ../../app/dist-frontend && \
48+ cd /
49+
50+ ls /usr/src/app-frontend/caprover-frontend/build
4351
52+ cd $ORIG_DIR
53+
54+ pwd
4455
4556exit 0;
4657
You can’t perform that action at this time.
0 commit comments