aws-samples / aws-samples/aws-codedeploy-samples

Automate code deploy from Git lab to AWS EC2 instance

Đang mở
#94 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Shell
Star
639
Fork
778
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

[When I start to build pipeline it gets this error]
[](![image](https://user-images.githubusercontent.com/60177460/107903185-89910380-6f6e-11eb-8668-c675517619ee.png))

My appspec.yml file is
version: 0.0
os: Linux
files:
- source: /
destination: /mw
hooks:
BeforeInstall:
- location: scripts/stop.sh
timeout: 300
runas: ubuntu
AfterInstall:
- location: scripts/start.sh
timeout: 300
runas: ubuntu

start.sh script is
#!/bin/bash
pm2 start mw-file-upload-cicd

stop.sh script is
#!/bin/bash
pm2 stop mw-file-upload-cicd

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.