Skip to content

Commit 8ee7449

Browse files
committed
Disabled rudimentary CI/CD
1 parent e3ac7d1 commit 8ee7449

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/deploy.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,28 +29,28 @@ jobs:
2929
pip install -r requirements.txt
3030
pip install awsebcli
3131
32-
- name: Run tests (optional)
33-
run: |
34-
python manage.py test --no-input
35-
continue-on-error: true
32+
# - name: Run tests (optional)
33+
# run: |
34+
# python manage.py test --no-input
35+
# continue-on-error: true
3636

37-
- name: Configure AWS credentials
38-
uses: aws-actions/configure-aws-credentials@v2
39-
with:
40-
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
41-
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
42-
aws-region: ${{ env.REGION }}
37+
# - name: Configure AWS credentials
38+
# uses: aws-actions/configure-aws-credentials@v2
39+
# with:
40+
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
41+
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
42+
# aws-region: ${{ env.REGION }}
4343

44-
- name: Deploy to Elastic Beanstalk
45-
run: |
46-
eb init -p python-3.12 ${{ env.EB_APPLICATION_NAME }} --region ${{ env.REGION }} -d
47-
eb deploy ${{ env.EB_ENVIRONMENT_NAME }} --verbose --timeout 20
44+
# - name: Deploy to Elastic Beanstalk
45+
# run: |
46+
# eb init -p python-3.12 ${{ env.EB_APPLICATION_NAME }} --region ${{ env.REGION }} -d
47+
# eb deploy ${{ env.EB_ENVIRONMENT_NAME }} --verbose --timeout 20
4848

49-
- name: Notify Deployment
50-
if: success()
51-
run: echo "✅ Deployment to AWS Elastic Beanstalk successful!"
49+
# - name: Notify Deployment
50+
# if: success()
51+
# run: echo "✅ Deployment to AWS Elastic Beanstalk successful!"
5252

53-
- name: Notify Failure
54-
if: failure()
55-
run: echo "❌ Deployment failed! Check logs for details."
53+
# - name: Notify Failure
54+
# if: failure()
55+
# run: echo "❌ Deployment failed! Check logs for details."
5656

0 commit comments

Comments
 (0)