Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdelrhman committed Nov 30, 2023
1 parent bb52f35 commit e50c8d9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ env:
AWS_REGION: us-east-2
on: workflow_dispatch
jobs:
Testing:
TEST-CQ-steps:
runs-on: ubuntu-latest
steps:
- name: for Testing
Expand Down Expand Up @@ -47,6 +47,11 @@ jobs:
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_URL }}

BUILD_AND_PUBLISH:
needs: TEST-CQ-steps
runs-on: ubuntu-latest
steps:
- name: Update application.properties file
run: |
sed -i "s/^jdbc.username.*$/jdbc.username\=${{ secrets.AWS_RDS_USER }}/" src/main/resources/application.properties
Expand Down

0 comments on commit e50c8d9

Please sign in to comment.