From b42b42abec7ad2de13606fd91f7080139b65dfd9 Mon Sep 17 00:00:00 2001 From: sfordevops <69614244+sfordevops@users.noreply.github.com> Date: Wed, 15 Jun 2022 22:49:25 +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..6554e1f --- /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: cimg/base:stable + # 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 ad3f57589ad4d66946099de08f745d7973acd278 Mon Sep 17 00:00:00 2001 From: sfordevops <69614244+sfordevops@users.noreply.github.com> Date: Wed, 15 Jun 2022 22:52:28 +0530 Subject: [PATCH 2/4] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6554e1f..94a8ad3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ jobs: # 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: cimg/base:stable + - image: circleci/ruby:2.4.1-node-browsers # Add steps to the job # See: https://circleci.com/docs/2.0/configuration-reference/#steps steps: From 82fa6fa3a1baf00e6338ee1b869709ce08f9211d Mon Sep 17 00:00:00 2001 From: sfordevops <69614244+sfordevops@users.noreply.github.com> Date: Wed, 15 Jun 2022 22:59:03 +0530 Subject: [PATCH 3/4] Update config.yml --- .circleci/config.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 94a8ad3..78f0212 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,9 +14,13 @@ jobs: # See: https://circleci.com/docs/2.0/configuration-reference/#steps steps: - checkout + + - run: + name: bundle dependencies + command: bundle install - run: - name: "Say hello" - command: "echo Hello, World!" + name: "buiuld jekyll site" + command: bundle exec jekyll build # Invoke jobs via workflows # See: https://circleci.com/docs/2.0/configuration-reference/#workflows From f3ffbc8454aea6947e50f11a80795c568af03d59 Mon Sep 17 00:00:00 2001 From: sfordevops <69614244+sfordevops@users.noreply.github.com> Date: Wed, 15 Jun 2022 23:13:27 +0530 Subject: [PATCH 4/4] Update config.yml --- .circleci/config.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 78f0212..01dfec1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,9 +22,3 @@ jobs: name: "buiuld jekyll site" command: bundle exec jekyll build -# Invoke jobs via workflows -# See: https://circleci.com/docs/2.0/configuration-reference/#workflows -workflows: - say-hello-workflow: - jobs: - - say-hello