Skip to content

Commit

Permalink
edit env variables in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
romanbutora committed Jul 26, 2023
1 parent 30fa1b8 commit 5728e8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Build and push Docker images
run: |
docker build -t rastokopal/fact-checking-fe:latest .
docker build --build-arg REACT_APP_API_BASE=${{ env.REACT_APP_API_BASE }} --build-arg PORT=${{ env.PORT }} --build-arg REACT_APP_API_GET_TEXT=${{ env.REACT_APP_API_GET_TEXT }} -t rastokopal/fact-checking-fe:latest .
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker push rastokopal/fact-checking-fe:latest
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/landing-page/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const LadingPage: React.FC = () => {

useEffect(() => {
claimsService.getClaimsList(1, 'MONTH', 'POSITIVE_VOTES_DESC')
.then((res: any) => setClaimsList(res.data)).catch();
.then((res: any) => setClaimsList(Array.from(res.data))).catch();
}, [auth, navigate]);

return (
Expand Down

0 comments on commit 5728e8e

Please sign in to comment.