[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-web PATCH 2/7] gitlab: introduce a CI job to publish the site cont
From: |
Daniel P . Berrangé |
Subject: |
[qemu-web PATCH 2/7] gitlab: introduce a CI job to publish the site content |
Date: |
Fri, 23 Oct 2020 16:29:52 +0100 |
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
.gitlab-ci.yml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 .gitlab-ci.yml
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..5fa3041
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,16 @@
+
+pages:
+ image: centos:8
+ cache:
+ paths:
+ - vendor
+ before_script:
+ - dnf install -y ruby ruby-devel rubygem-bundler openssl-devel
+ - dnf install -y gcc gcc-c++ make redhat-rpm-config
+ - bundle install --path vendor
+ script:
+ - bundle exec jekyll build
+ - mv _site public
+ artifacts:
+ paths:
+ - public
--
2.26.2