This commit is contained in:
Andreas Hnida 2024-04-17 06:37:42 +02:00
commit dadc9257a7

View file

@ -1,9 +1,10 @@
name: GitHub Actions Demo stages:
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 - greeting
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 Hello World."
greeting_job:
stage: greeting
image: alpine:latest # Using Alpine Linux for a lightweight container
script:
- echo "🎉 Hello World."
only:
- master # This job runs only on pushes to the master branch