Skip to content

Commit

Permalink
ci(deploy.yml): add env variables to Docker call
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpomerenke committed Mar 14, 2024
1 parent 6837100 commit 70d2966
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,10 @@ jobs:
sudo docker pull socialchangelab/media-impact-monitor:latest
sudo docker stop media-impact-monitor || true
sudo docker rm media-impact-monitor || true
sudo docker run -d -p 8000:8000 --name media-impact-monitor socialchangelab/media-impact-monitor:latest
sudo docker run -d \
-p 8000:8000 \
-e MEDIACLOUD_API_TOKEN={{ secrets.MEDIACLOUD_API_TOKEN }} \
-e ACLED_EMAIL={{ secrets.ACLED_EMAIL }} \
-e ACLED_KEY={{ secrets.ACLED_KEY }} \
--name media-impact-monitor \
socialchangelab/media-impact-monitor:latest

0 comments on commit 70d2966

Please sign in to comment.