File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ packages:
2
+ yum:
3
+ nginx: []
4
+
5
+ commands:
6
+ start_nginx:
7
+ command: "sudo systemctl start nginx"
8
+ enable_nginx:
9
+ command: "sudo systemctl enable nginx"
Original file line number Diff line number Diff line change 53
53
# Github Action을 통해 깃허브가 자체적으로 리눅스 가상 환경을 만들어서
54
54
# 배포에 필요한 빌드 과정을 진행하는 과정
55
55
56
+ - name : List deploy directory contents
57
+ run : |
58
+ echo "Contents of deploy directory:"
59
+ ls -R deploy
60
+ shell : bash
61
+
62
+ - name : Check nginx.conf existence
63
+ run : |
64
+ if [ -f deploy/.platform/nginx.conf ]; then
65
+ echo "nginx.conf found"
66
+ else
67
+ echo "nginx.conf not found"
68
+ exit 1
69
+ fi
70
+ shell : bash
71
+ # nginx 상태 점검용 코드 추가
72
+
56
73
- name : Beanstalk Deploy
57
74
uses : einaregilsson/beanstalk-deploy@v21
58
75
with :
You can’t perform that action at this time.
0 commit comments