Skip to content

Commit

Permalink
Move Set environment variables below Clone repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Rivixer committed May 14, 2024
1 parent 259cd33 commit cac76cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
if: ${{ !github.event.pull_request.draft }}

steps:
- name: Set environment variables
run: echo "${{secrets.WEBSITE_ENV }}" > .env

- name: Clone repository
uses: actions/checkout@v4

- name: Set environment variables
run: echo "${{secrets.WEBSITE_ENV }}" > ./src/main/resources/application.properties

- name: Build Docker image
run: docker build .

0 comments on commit cac76cd

Please sign in to comment.