From a3d3d8d4dd1a45a1b4c82140674dc8868e882723 Mon Sep 17 00:00:00 2001 From: Mehak Pargal Date: Tue, 26 Oct 2021 14:48:47 +0530 Subject: [PATCH 1/4] Create config.yml --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..94a8ad3 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/2.0/configuration-reference/#jobs +jobs: + say-hello: + # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + docker: + - image: circleci/ruby:2.4.1-node-browsers + # Add steps to the job + # See: https://circleci.com/docs/2.0/configuration-reference/#steps + steps: + - checkout + - run: + name: "Say hello" + command: "echo Hello, World!" + +# Invoke jobs via workflows +# See: https://circleci.com/docs/2.0/configuration-reference/#workflows +workflows: + say-hello-workflow: + jobs: + - say-hello From de8cc16a73016eabd6de3672802e691c40906279 Mon Sep 17 00:00:00 2001 From: Mehak Pargal Date: Tue, 26 Oct 2021 14:57:52 +0530 Subject: [PATCH 2/4] Update config.yml --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 94a8ad3..04408a4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,6 +17,12 @@ jobs: - run: name: "Say hello" command: "echo Hello, World!" + - run: + name: "build dependencies" + command: bundle install + - run: + name: "build the jekyll site" + command: bundle exec jekyll build # Invoke jobs via workflows # See: https://circleci.com/docs/2.0/configuration-reference/#workflows From 05f7bb0625e4ba80f8ca8ea50357ef8f27feb15b Mon Sep 17 00:00:00 2001 From: Mehak Pargal Date: Tue, 26 Oct 2021 14:59:52 +0530 Subject: [PATCH 3/4] changes done --- .circleci/config.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 04408a4..e108cad 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,13 +15,10 @@ jobs: steps: - checkout - run: - name: "Say hello" - command: "echo Hello, World!" - - run: - name: "build dependencies" + name: build dependencies command: bundle install - run: - name: "build the jekyll site" + name: build the jekyll site command: bundle exec jekyll build # Invoke jobs via workflows From 05f8e7fdeca6408a7761674d0bd8debfe4a34ebe Mon Sep 17 00:00:00 2001 From: Mehak Pargal Date: Tue, 26 Oct 2021 15:13:38 +0530 Subject: [PATCH 4/4] code change --- .circleci/config.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e108cad..96996d6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,11 +15,8 @@ jobs: steps: - checkout - run: - name: build dependencies - command: bundle install - - run: - name: build the jekyll site - command: bundle exec jekyll build + name: "Say hello" + command: "echo Hello!" # Invoke jobs via workflows # See: https://circleci.com/docs/2.0/configuration-reference/#workflows