Skip to content

Instantly share code, notes, and snippets.

@paramsiddharth
Last active June 26, 2021 11:27
Show Gist options
  • Save paramsiddharth/f6fc0b8f3bcf4af5204a91ba2aa3c009 to your computer and use it in GitHub Desktop.
Save paramsiddharth/f6fc0b8f3bcf4af5204a91ba2aa3c009 to your computer and use it in GitHub Desktop.
A summary of the CI/CD workshop.

Continuous Integration and Continuous Deployment

The above terms are associated with popular modern development practices.

  • Continuous Integration: The process of continuously merging and testing changes to the main codebase.
  • Continuous Deployment: Deliver changes in the codebase to the main application.

A recording of the session demonstrations is available here.

Continuous Integration: Exercise

  1. Fork this repository and clone it locally.
  2. Create a new file named <yourname>.yml inside .github/workflows.
  3. Copy the code given here and paste it inside the file.
  4. Create a new file named <yourname>.c inside the repository and write an application that displays your name.
  5. Commit the changes and push it to your remote repository.
  6. Verify the workflow.
  7. Once done, create a pull request and wait for magic. :)

Continuous Deployment: Exercise

  1. Fork this repository.
  2. Go to the settings.
  3. Under GitHub Pages source, choose your main branch (usually main).
  4. Save.
  5. Visit the deployed webpage.

Made with ❤ by Param.

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