From 3fc5bd212387e80c9d62f7b8b9ba8b30dc3ea94b Mon Sep 17 00:00:00 2001 From: yassineKhouaja <79739080+yassineKhouaja@users.noreply.github.com> Date: Sat, 21 Jan 2023 16:54:50 +0100 Subject: [PATCH 1/4] Add .circleci/config.yml --- .circleci/config.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..05696a0 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,32 @@ +# Elixir CircleCI 2.0 configuration file +# See: https://circleci.com/docs/2.0/language-elixir/ +version: 2 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/2.0/configuration-reference/#jobs +jobs: + build: + # 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: + # specify the version here + - image: circleci/ruby:2.4.1-node-browsers + + # Specify service dependencies here if necessary + # CircleCI maintains a library of pre-built images + # documented at https://circleci.com/docs/2.0/circleci-images/ + # - image: circleci/postgres:9.4 + + # working_directory: ~/repo + # Add steps to the job + # See: https://circleci.com/docs/2.0/configuration-reference/#steps + steps: + - checkout + + # specify any bash command here prefixed with `run: ` + - run: + name: Greeting + command: echo hello word. + - run: + name: Print the current time + command: date From afa66d8d690a7f52010a4409899966ae71c08492 Mon Sep 17 00:00:00 2001 From: yassineKhouaja <79739080+yassineKhouaja@users.noreply.github.com> Date: Sat, 21 Jan 2023 16:55:39 +0100 Subject: [PATCH 2/4] Add .circleci/config.yml From d2921792e7d0a7e006e181b9c2bc897316fab6ad Mon Sep 17 00:00:00 2001 From: Yassine Khouaja Date: Sat, 21 Jan 2023 16:59:46 +0100 Subject: [PATCH 3/4] add gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c138f46 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.history/ \ No newline at end of file From c3c44d1b739fcae06d457ab427afff9f0e7b3b76 Mon Sep 17 00:00:00 2001 From: Yassine Khouaja Date: Sat, 21 Jan 2023 17:05:33 +0100 Subject: [PATCH 4/4] add validations --- .circleci/config.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 05696a0..2edbee9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,10 +23,12 @@ jobs: steps: - checkout - # specify any bash command here prefixed with `run: ` - - run: - name: Greeting - command: echo hello word. - - run: + - run: + name: build dependencies + command: bundle install + - run: + name: build the jekyll site + command: bundle exec jekyll build + - run: name: Print the current time command: date