mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 11:41:41 +02:00
🚧 Set permissions on front release
Signed-off-by: mathieu.brunot <mb.mathieu.brunot@gmail.com>
This commit is contained in:
parent
06c830dd3c
commit
9664fe4a61
1 changed files with 3 additions and 2 deletions
|
@ -53,6 +53,7 @@ function build-release-frontend-local {
|
||||||
|
|
||||||
mkdir -p $HOME/.m2
|
mkdir -p $HOME/.m2
|
||||||
rm -rf ./frontend/node_modules
|
rm -rf ./frontend/node_modules
|
||||||
|
chmod 777 ./frontend
|
||||||
|
|
||||||
CONTAINER=$IMGNAME:latest
|
CONTAINER=$IMGNAME:latest
|
||||||
|
|
||||||
|
@ -63,7 +64,7 @@ function build-release-frontend-local {
|
||||||
-v $HOME/.m2:/home/uxbox/.m2 \
|
-v $HOME/.m2:/home/uxbox/.m2 \
|
||||||
-e UXBOX_API_URL="/api" \
|
-e UXBOX_API_URL="/api" \
|
||||||
-e UXBOX_VIEW_URL="/view" \
|
-e UXBOX_VIEW_URL="/view" \
|
||||||
$CONTAINER cd /home/uxbox/uxbox/frontend && ./scripts/build-release.sh
|
$CONTAINER ./scripts/build-release.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
function build-release-frontend {
|
function build-release-frontend {
|
||||||
|
@ -85,7 +86,7 @@ function build-release-backend-local {
|
||||||
# -w /home/uxbox/uxbox/backend \
|
# -w /home/uxbox/uxbox/backend \
|
||||||
# -v `pwd`:/home/uxbox/uxbox \
|
# -v `pwd`:/home/uxbox/uxbox \
|
||||||
# -v $HOME/.m2:/home/uxbox/.m2 \
|
# -v $HOME/.m2:/home/uxbox/.m2 \
|
||||||
# $CONTAINER cd /home/uxbox/uxbox/backend && ./scripts/prepare-release.sh
|
# $CONTAINER ./scripts/prepare-release.sh
|
||||||
rm -rf backend/dist || exit 1;
|
rm -rf backend/dist || exit 1;
|
||||||
rsync -avr \
|
rsync -avr \
|
||||||
--exclude="/test" \
|
--exclude="/test" \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue