Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xorwns118 committed Sep 24, 2024
1 parent 1bf86b5 commit 531df8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:

- name: Set environment values
run: |
touch ./.env
echo "${{ secrets.ENV }}" > ./.env.properties
touch ./src/main/resources/.env
echo "${{ secrets.ENV }}" > ./src/main/resources/.env
shell: bash
- name: Load environment variables and run the application
run: |
export $(cat ./.env | xargs)
export $(cat ./src/main/resources/.env | xargs)
- name: Build with Gradle
run: gradle clean build bootjar -x test
Expand Down

0 comments on commit 531df8f

Please sign in to comment.