Issue
Is it possible to deploy to more then one folders in same EC2 with AWS code pipeline?
I'm trying to deploy to more the one folder with single aws code pipeline
below is the appspec.xml file sample that I'm trying
version: 0.0
os: linux
files:
- source: /
destination: /var/www/folder1
file_exists_behavior: OVERWRITE
Is it possible to pass multiple parameters in destination: ?
Solution
destination
should be a single string, however you can use multiple source and destination pairs:
files:
- source: /
destination: /var/www/folder1
- source: /
destination: /var/www/folder2
This documentation page has more information.
Answered By - Paolo Answer Checked By - Pedro (WPSolving Volunteer)