Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
test variables
  • Loading branch information
p-galligan committed Mar 1, 2024
1 parent dff503b commit 8498e78
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ jobs:
with:
secrets: ${{ toJSON(secrets) }}

- name: Test environment variables
run: echo "$ROOT_DIR"

- name: Clone deploy scripts if not present
run: |
if [ ! -d deploy_scripts ]; then
Expand All @@ -97,15 +100,15 @@ jobs:
- name: Create deployment zip
run: sudo deploy_scripts/make_zip_django.sh $DEPLOY_ZIP_DIR $DEPLOY_ZIP_NAME

- name: Configure AWS Credentials
uses: aws-actions/[email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }}
aws-region: us-east-1
#- name: Configure AWS Credentials
# uses: aws-actions/[email protected]
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }}
# aws-region: us-east-1

- name: Deploy to S3
run: aws s3 sync $DEPLOY_ZIP_DIR s3://$AWS_BUCKET_NAME
#- name: Deploy to S3
# run: aws s3 sync $DEPLOY_ZIP_DIR s3://$AWS_BUCKET_NAME

#- name: Deploy to AWS CodeDeploy
# run: aws deploy create-deployment
Expand Down

0 comments on commit 8498e78

Please sign in to comment.