Skip to content

Configure the build#6

Open
github-learning-lab[bot] wants to merge 2 commits intomasterfrom
custom-build
Open

Configure the build#6
github-learning-lab[bot] wants to merge 2 commits intomasterfrom
custom-build

Conversation

@github-learning-lab
Copy link
Copy Markdown

In this pull request, I've added some tests to help ensure the project builds. This is one example of how you can customize specific validations to run when your CI starts a build. I need you to add a run action to your .circleci/config.yml file.

In this example, we'll build the project with bundle exec jekyll build. Depending on the programming language and project, you might use a different command, like yarn run android or nvm package. You can find more specific information on CircleCI configuration in their documentation.

Step 5: Add validation

Build your site.

⌨️ Activity: Add some automated validation to your project

  1. In this pull request, add the following code to the placeholder in your .circleci/config.yml file. You can do this by editing the file from the Files changed tab, or by scrolling down and accepting the suggested change.
 bundle exec jekyll build
  1. Commit your change.

I'll respond below with your next step.

Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response, wait a few seconds and refresh the page for your next steps.


- run:
name: build the jekyll site
command: REPLACE-ME-WITH-BUILD-COMMAND
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
command: REPLACE-ME-WITH-BUILD-COMMAND
command: bundle exec jekyll build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants