aws-samples / aws-samples/aws-codedeploy-samples
Automate code deploy from Git lab to AWS EC2 instance
Offen
- Vorherrschende Sprache
- Shell
- Sterne
- 639
- Forks
- 778
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
[When I start to build pipeline it gets this error]
[]()
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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.