Skip to content

Commit

Permalink
Update cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwjddn123 authored Jun 12, 2024
1 parent 43a0cdb commit fb1971f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,8 @@ jobs:
run: chmod +x ./gradlew

- name: Build with Gradle
run: ./gradlew clean build --exclude-task test
env:
DB_URL: ${{ secrets.DB_URL }}
DB_USERNAME: ${{ secrets.DB_USERNAME }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
GCP_BUCKET_NAME: ${{ secrets.GCP_BUCKET_NAME }}
TOKEN_SECRET_KEY: ${{ secrets.TOKEN_SECRET_KEY }}
run: ./gradlew clean build --exclude-task test -Dspring.datatsource.username=${{ env.DB_USERNAME}} -Dspring.datatsource.url=${{ env.DB_URL}} -Dspring.datatsource.password=${{ env.DB_PASSWORD}} -Dspring.jwt.token.secret-key=${{ env.TOKEN_SECRET_KEY}}


- name: Copy jar file to remote VM
uses: appleboy/scp-action@master
Expand Down

0 comments on commit fb1971f

Please sign in to comment.