Skip to content

Commit

Permalink
Merge pull request #13 from Wambaborel/ci_cd
Browse files Browse the repository at this point in the history
Here are the updates for the pipeline to correct the errors
  • Loading branch information
Wambaforestin authored Nov 29, 2024
2 parents 6f643b9 + 16ee30b commit 012bc5d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI/CD Workflow
on:
push:
branches:
- main
- main # Changed to "main" branch

jobs:
build:
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12.7' # Use the desired Python version
python-version: '3.12.7'

# Step 3: Install dependencies for each project in the root directory
- name: Install dependencies for each project
Expand Down Expand Up @@ -51,8 +51,7 @@ jobs:
readme_file="$dir/README.md"
# Create a README file with documentation
cat > "$readme_file" <<EOL
cat <<EOL > "$readme_file"
# $project_name
## Description
Expand All @@ -72,5 +71,5 @@ jobs:
*📄 This README was automatically generated by the CI/CD workflow. 🤖*
EOL
echo "Generated README for $project_name"
done
echo "Generated README for $project_name"
done

0 comments on commit 012bc5d

Please sign in to comment.