[static-web] Upload static-web content over to S3



commit 2cebc66e3582da961528d515cc8c2cdbc6a7c364
Author: Andrea Veri <averi redhat com>
Date:   Mon Jan 31 14:39:38 2022 +0100

    Upload static-web content over to S3

 .gitlab-ci.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..99c7bf5
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,18 @@
+stages:
+  - deploy
+
+s3:
+  stage: deploy
+  image:
+    name: amazon/aws-cli
+    entrypoint: [""]
+  script:
+    - aws --version
+    - aws s3 rm s3://$S3_BUCKET --recursive
+    - aws s3 cp public s3://$S3_BUCKET --recursive
+  only:
+    refs:
+      - master
+  except:
+    changes:
+      - "*.doap"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]