Skip to content

Commit

Permalink
setting: redis 설정파일 write 경로 재지정
Browse files Browse the repository at this point in the history
  • Loading branch information
linglong67 committed Feb 28, 2024
1 parent 04e4fe4 commit 5bdd7dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
mkdir -p deploy
cd deploy
echo "${{ secrets.DB_INIT_SQL }}" > init.sql
echo "${{ secrets.DEV_REDIS_CONF }}" > redis.conf
echo "${{ secrets.DEV_REDIS_CONF }}" > redis/redis.conf
echo "${{ secrets.DOCKER_COMPOSE }}" > docker-compose.yml
docker-compose pull
docker-compose down
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cicd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ jobs:
sudo chmod +x /usr/local/bin/docker-compose
# Docker Compose
mkdir -p deploy
cd deploy
echo "${{ secrets.PROD_REDIS_CONF }}" > redis.conf
echo "${{ secrets.DOCKER_COMPOSE_AWS }}" > docker-compose.yml
sudo mkdir -p deploy
sudo cd deploy
sudo echo "${{ secrets.PROD_REDIS_CONF }}" > redis/redis.conf
sudo echo "${{ secrets.DOCKER_COMPOSE_AWS }}" > docker-compose.yml
aws ecr get-login-password --region ap-northeast-2 | docker login --username AWS --password-stdin ${{ steps.login-ecr.outputs.registry }}
docker-compose pull
Expand Down

0 comments on commit 5bdd7dd

Please sign in to comment.