From the course: Data Pipeline Automation with GitHub Actions Using R and Python

Unlock the full course today

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

Setting GitHub Actions workflow

Setting GitHub Actions workflow

- [Instructor] In this video, we will create our first workflow. Let's first define the workflow scope. We want the workflow to simply print a "Hello World." We are going to use Ubuntu as our OS, and we will use our course image to set the environment. There are two methods for adding a new workflow. First, via GitHub. Let's open the browser and go to GitHub. On the main menu, go to Actions, and then click on the left side, New workflow. As you can see, GitHub offer many templates. Over here, you can see there is a Python version and a R version. We will set our workflow from scratch. Select set up a workflow yourself. And here, this is leading to the GitHub editor. And you can start edit and set your workflow. And at the end you save it by committing the changes back to the repository. You can see by default GitHub named this workflow as main.yml. And this file is under the .github/workflows folder. Let's now not go with this route and see how we can do it on VS Code. So we're now in…

Contents