Skip to content

Commit

Permalink
Cleanup naming
Browse files Browse the repository at this point in the history
  • Loading branch information
alukach committed Jun 28, 2024
1 parent b4af493 commit e0200bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI/CD Workflow
name: CI/CD Workflow 🚀

on:
push:
Expand All @@ -19,6 +19,7 @@ on:

jobs:
test:
name: Test 🧪
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -29,6 +30,7 @@ jobs:
echo "Mock testing..."
deploy-to-staging:
name: Deploy to Staging
needs: test
if: github.event_name == 'push' && github.ref_name == 'main'
concurrency: staging
Expand All @@ -38,6 +40,7 @@ jobs:
secrets: inherit

deploy-to-production:
name: Deploy to Production
needs: test
if: github.event_name == 'release'
concurrency: production
Expand All @@ -47,6 +50,7 @@ jobs:
secrets: inherit

manual-deployment:
name: Manual Deployment
needs: test
if: github.event_name == 'workflow_dispatch' && (success() || inputs.force == true)
concurrency: ${{ inputs.environment }}
Expand Down

0 comments on commit e0200bd

Please sign in to comment.