Skip to content

Commit

Permalink
Updates workflow environment
Browse files Browse the repository at this point in the history
Updates workflow environment after testing has finished.
  • Loading branch information
p-galligan committed Mar 13, 2024
1 parent 09d4fc8 commit 5a5688d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ jobs:
deploy:
needs: build
runs-on: ubuntu-latest
#if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/development'
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/development'

#CHANGE THIS TO BRANCH NAME AFTER TESTING
environment:
name: development
name: ${{ github.ref_name }}

steps:
- name: Checkout code
Expand Down Expand Up @@ -137,9 +137,6 @@ jobs:
role-duration-seconds: 1000
aws-region: us-east-1

- name: Check AWS user
run: aws sts get-caller-identity

- name: Deploy to S3
run: aws s3 cp $DEPLOY_ZIP_DIR s3://$AWS_BUCKET_NAME --recursive

Expand Down

0 comments on commit 5a5688d

Please sign in to comment.