mirror of
https://github.com/suitenumerique/docs.git
synced 2026-08-17 21:25:43 +02:00
Replaces #1020 - fixes https://github.com/suitenumerique/docs/pull/1020#discussion_r2314089799 by creating a `deploy/` directory, making room for a deploy/docker directory later - fixes https://github.com/suitenumerique/docs/pull/1020#issuecomment-3886237213 by adding documentation in docs/installation - in general, follow the same changes as we did in https://github.com/suitenumerique/meet/pull/957 Tested successfuly on Scalingo Co-authored-by: Sylvain Zimmer <sylvain@sylvainzimmer.com>
14 lines
424 B
Bash
Executable File
14 lines
424 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit # always exit on error
|
|
set -o pipefail # don't ignore exit codes when piping output
|
|
|
|
echo "-----> Running post-compile script"
|
|
|
|
rm -rf docker docs env.d gitlint
|
|
rm -rf src/frontend/apps
|
|
rm -rf src/frontend/packages
|
|
|
|
# Remove some of the larger packages required by the frontend only
|
|
rm -rf src/frontend/node_modules/@next src/frontend/node_modules/next src/frontend/node_modules/@gouvfr-lasuite
|