Workflows vs. Pipelines - by Example

2.7. Workflows vs. Pipelines - by Example#

# .github/workflows/hello_world.yml

on: push

jobs:
  say_hello:
    steps:
      - run: echo "Hello, World!"
# .gitlab-ci.yml

stages:
  - greet

greet_job:
  stage: greet
  script:
    - echo "Hello, World!"