Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Soluris
Madis Cyber
Commits
65ecdd20
Commit
65ecdd20
authored
Sep 13, 2022
by
Jonathan Foucher
Browse files
fail script if a step fails.
parent
ed42dbe5
Pipeline
#31938
failed with stages
in 20 minutes and 15 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
deploy
View file @
65ecdd20
...
...
@@ -12,11 +12,11 @@ git stash
git pull
## Composer
php8.1
/usr/bin/
composer
install
--prefer-dist
--no-interaction
--optimize-autoloader
php8.1
$(
which
composer
)
install
--prefer-dist
--no-interaction
--optimize-autoloader
||
exit
1
## CSS & JS
npm
install
npm run production
npm
install
||
exit
1
npm run production
||
exit
1
# Get correct version info from git tag and replace into template
VERSION
=
$(
git describe
--tags
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment