Skip to content

Commit

Permalink
feat: it updates deploy workflow in order to configure applications envs
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusdoedev committed Sep 28, 2023
1 parent ab830e5 commit 7b7ecfe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
- name: Login to docker hub
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}

- name: Configuring env file
run: echo "${{ secrets.VITE_INTERVIEW_API_URL }}" > .env

- name: Build docker image
env:
VITE_INTERVIEW_API_URL: ${{ secrets.VITE_INTERVIEW_API_URL }}
run: docker build -t ${{ env.CONTAINER_NAME }} .

- name: Tag image
Expand Down

0 comments on commit 7b7ecfe

Please sign in to comment.