Skip to content

Commit 3e0f098

Browse files
committed
testing actions
1 parent 79444bf commit 3e0f098

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

dev-scripts/build_and_push_edge.sh

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,22 @@ if [[ "$BRANCH" != "master" ]]; then
3636
fi
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

4556
exit 0;
4657

0 commit comments

Comments
 (0)