aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schramm <tobleminer@gmail.com>2018-07-20 15:19:24 +0200
committerTobias Schramm <tobleminer@gmail.com>2018-07-20 15:24:20 +0200
commitdd7965995d3892428631255cf126bf2fe0ac5d25 (patch)
tree6cf9dc8dc093686818c32ef53e074c9a04d53ac2
parent1990bebfef5a30ab6bce79537250b0a84674cc55 (diff)
Archive and add site directory to firmware output
-rwxr-xr-xgitlab-ci/build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitlab-ci/build.sh b/gitlab-ci/build.sh
index cd0bbc8..9068be8 100755
--- a/gitlab-ci/build.sh
+++ b/gitlab-ci/build.sh
@@ -286,6 +286,9 @@ upload() {
--verbose \
"/opt/firmware/ffki/${TARGET}/${RELEASE}-${BUILD}"
+ # Add site metadata
+ tar -czf "${SITEDIR}/output/images/site.tgz" --exclude='gluon' --exclude='output' "${SITEDIR}"
+
# Copy images to server
rsync \
--verbose \