mirror of
https://github.com/xcp-ng/xcp-ng-org.git
synced 2026-12-04 09:28:31 +00:00
Overwrite local changes, bypass "push force" conflicts Signed-off-by: Nathanaël HANNEBERT <nathanael.hannebert@vates.tech>
15 lines
308 B
Bash
Executable File
15 lines
308 B
Bash
Executable File
#!/usr/bin/env bash
|
|
PATH="/bin:/usr/bin:/user/local/bin:/var/www/n/bin"
|
|
exec > build.log 2>&1
|
|
start=`date`
|
|
|
|
echo "Pull and build triggered at $start"
|
|
git fetch
|
|
git reset --hard origin/master
|
|
# Install potential new plugins
|
|
npm i
|
|
# Generate the doc
|
|
npm run build
|
|
end=`date`
|
|
echo "Pull and build done at $end"
|