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

Automate code deploy from Git lab to AWS EC2 instance

Open
#94 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
639
Forks
778
PR merge metrics
No merged PRs in 30d

Description

[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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.