Skip to content

Commit

Permalink
Merge branch 'feature/11_profile' of https://github.com/Collusic/clim…
Browse files Browse the repository at this point in the history
…ingo-api into feature/11_profile
  • Loading branch information
Bellroute committed May 22, 2024
2 parents fb0007d + 38bb9fd commit 290c0ec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/github-action-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,15 @@ jobs:
run: ./gradlew build
env:
JASYPT_PASSWORD: ${{ secrets.JASYPT_PASSWORD }}
version: ${{ secrets.VERSION }}
buildTime: ${{ secrets.BUILDTIME }}

- name: Run tests
run: ./gradlew test
env:
JASYPT_PASSWORD: ${{ secrets.JASYPT_PASSWORD }}
version: ${{ secrets.VERSION }}
buildTime: ${{ secrets.BUILDTIME }}

build_and_deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -64,6 +68,8 @@ jobs:
run: ./gradlew build
env:
JASYPT_PASSWORD: ${{ secrets.JASYPT_PASSWORD }}
version: ${{ secrets.VERSION }}
buildTime: ${{ secrets.BUILDTIME }}

- name: Make zip file
run: zip -r ./$GITHUB_SHA.zip .
Expand All @@ -83,4 +89,4 @@ jobs:
run: aws deploy create-deployment --application-name climingo-api
--deployment-config-name CodeDeployDefault.OneAtATime
--deployment-group-name climingo-api-codeDeploy
--s3-location bucket=${{ secrets.S3_BUCKET_NAME }},bundleType=zip,key=deploy/$GITHUB_SHA.zip
--s3-location bucket=${{ secrets.S3_BUCKET_NAME }},bundleType=zip,key=deploy/$GITHUB_SHA.zip

0 comments on commit 290c0ec

Please sign in to comment.