Leave a rating/review
A workflow is a sequence of jobs that can run either in series or in parallel
A job usually is a container for more than one step, where each step is a self-contained function.
Time to create your first workflow.
Switch to the Project Files view to see all the directories. To add a new workflow, create a new directory named .github in the root of your project. Inside this directory, create another directory named workflows.
All workflows are written in YAML, which is a serialization format commonly used in configuration files. One thing to keep in mind is that proper indentation is extremely important in the YAML format. So make sure to follow the indentation presented in the tutorial exactly for your workflows to work.
Inside the workflows directory, create a new file named check_and_deploy.yml.
Add the following code to the file:
name: Test and deploy
jobs:
Here, name is the key you use to identify the workflow on the GitHub Workflows tab. jobs contains a collection of job instances. The jobs can execute in different orders.