Skip to content

Premier workflow CI/CD automatisé - Tests, checkout et listing fichiers

Notifications You must be signed in to change notification settings

UBONGO2000/ActionsInAction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Learn Github Action


My first github action

Premier workflow CI/CD automatisé - Tests, checkout et listing fichiers

🎯 Qu'est-ce que ça fait ?

graph LR
  A[git push] --> B[GitHub Actions déclenché]
  B --> C[Machine Ubuntu gratuite]
  B --> D[Bouton manuel Run]
  C --> E[echo Hello 👋]
  C --> F[Checkout code]
  C --> G[tree fichiers repo]
  E --> H[Badge vert ✅]
Loading

📋 Déclencheurs

Événement Description
push main Auto sur push branche main
workflow_dispatch Manuel bouton "Run workflow"

🔧 Workflow YAML

name: My First Workflow
on:
  push:
    branches: 
        - main
  workflow_dispatch:
jobs:
  MyFirstJob:
    runs-on: ubuntu-latest
    steps:
      - run: echo "👋 Hello world"
      - name: Checkout code
        uses: actions/checkout@v4
      - name: List files
        run: |
          echo "Repo: ${{ github.repository }}"
          tree

👨‍💻 UBONGO2000 - En apprentissage CI/CD

⚡ Push → Tests auto → Badge vert → Recruteurs impressionnés !

About

Premier workflow CI/CD automatisé - Tests, checkout et listing fichiers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published