You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@resilientdb.apache.org by ap...@apache.org on 2024/10/28 19:16:55 UTC

(incubator-resilientdb-blog) branch test-ci created (now dc351ce)

This is an automated email from the ASF dual-hosted git repository.

apratim pushed a change to branch test-ci
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb-blog.git


      at dc351ce  Create config.yml

This branch includes the following new commits:

     new dc351ce  Create config.yml

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(incubator-resilientdb-blog) 01/01: Create config.yml

Posted by ap...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

apratim pushed a commit to branch test-ci
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb-blog.git

commit dc351ce341fc56684fc9d843689b0d69a6d2b45e
Author: Apratim Shukla <ap...@gmail.com>
AuthorDate: Mon Oct 28 12:16:16 2024 -0700

    Create config.yml
---
 .circleci/config.yml | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..b2d791f
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,40 @@
+version: 2.1
+
+jobs:
+  build-and-deploy-jekyll:
+    docker:
+      - image: jekyll/builder:latest
+    steps:
+      - checkout
+      - run:
+          name: Install dependencies
+          command: |
+            bundle install
+      - run:
+          name: Build Jekyll site
+          command: |
+            JEKYLL_ENV=production bundle exec jekyll build -d _site
+      - run:
+          name: Clone asf-site branch
+          command: |
+            git clone --branch asf-site https://github.com/apache/incubator-resilientdb-site.git asf-site
+      - run:
+          name: Move blog to /blog
+          command: |
+            rm -rf asf-site/blog
+            mv _site asf-site/blog
+      - run:
+          name: Push changes to asf-site branch
+          command: |
+            cd asf-site
+            git config --global user.email "apratimshukla6@gmail.com"
+            git config --global user.name "Apratim Shukla"
+            git add blog
+            git commit -m "Automated Jekyll blog update"
+            git push origin asf-site
+
+workflows:
+  version: 2
+  deploy:
+    jobs:
+      - build-and-deploy-jekyll
\ No newline at end of file