From the course: Learning GitHub Actions

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

Solution: Develop a CI/CD pipeline for a Python script

Solution: Develop a CI/CD pipeline for a Python script - GitHub Tutorial

From the course: Learning GitHub Actions

Solution: Develop a CI/CD pipeline for a Python script

(upbeat music) - [Instructor] Let's start our solution to this challenge by creating a new repository. I'm logged into my GitHub account, and I'm at github.com/new, where I can create a new repository. For the repository name, I'll use pipeline. And I'll go ahead and add the optional description, and I'll say create a Python pipeline. I'll leave it as public, and I will add a readme file, and then I'll click create repository. Now that we have our repository, we can start adding files to it directly from the web interface, and I'll click add file, create new file. The first file we need to add is our Python script, and this is just a simple one-line Python script that prints hello world. So I'll name it hello.py, and for the one line, I'll add print, open parentheses, and in quotes, hello comma world, and then close that out. And then at the bottom of the screen, I'll scroll down and click commit new file to add this…

Contents