Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: nginx.conf 파일 복사 여러 명령어를 한 번에 실행할 때는 하나의 script 블록으로 작성 #48

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/dev-aws-CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ jobs:
key: ${{ secrets.AWS_DEV_PRIVATE_KEY }}
script: |
sudo mkdir -p /etc/nginx/conf.d/
sudo mv /home/ubuntu/nginx.conf /etc/nginx/conf.d/nginx.conf
if [ -f /home/ubuntu/nginx.conf ]; then
sudo mv /home/ubuntu/nginx.conf /etc/nginx/conf.d/nginx.conf
else
echo "nginx.conf not found in /home/ubuntu/"
exit 1
fi

## Docker login
- name: Docker Login
Expand Down
Loading