Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shnamm authored Dec 20, 2023
1 parent 9ce0dd9 commit b054a62
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@ jobs:
run: |
python manage.py test
- name: Create mutsa.zip
run: |
zip -r mutsa.zip ./*
- name: Upload to S3
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
aws s3 cp . s3://mutsa-s3-bucket/ --recursive --exclude "*" --include "mutsa.zip"
aws s3 cp mutsa.zip s3://mutsa-s3-bucket/
- name: Deploy to AWS CodeDeploy
env:
Expand Down

0 comments on commit b054a62

Please sign in to comment.