add manual deployment scripts #96
Merged
maxime.batista
merged 1 commits from manual-deploy
into master
1 year ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'manual-deploy'
Deleting a branch is permanent. It CANNOT be undone. Continue?
3984b228a5
to87e73a3c5f
1 year ago93612c473b
into master 1 year agoThe shebang is missing.
export OUTPUT=$1
export BASE=$2
rm -rf $OUTPUT/*
Quote the variable as it may contain spaces. Also, if
$1
isn't defined, this will literally executerm -rf /*
rm -rf $OUTPUT/*
echo "VITE_API_ENDPOINT=$BASE/api" >> .env.PROD
echo "VITE_BASE=$BASE" >> .env.PROD
Just pass those as environment variables? They don't need to be in a file.
require __DIR__ . "/../views-mappings.php";
// THIS VALUE IS TO SET IN THE CI
const BASE_PATH = null;
""
is a reasonable default.Reviewers
93612c473b
.