This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The name of our workflow. | |
name: CI/CD | |
# What we put inside the "on" object determines which event(s) triggers the workflow (e.g. pushes, pull requests, merges, branch creation...) | |
on: | |
# In our case, we want the workflow to be triggered every time there is a push to the repository... | |
push: | |
# ... but only on the main branch. | |
branches: | |
- main |