vs-deploy
vs-deploy copied to clipboard
SFTP mtimes
{
"deploy": {
"packages": [
{
"name": "Version 1.0",
"description": "Website Version 1.0",
"files": ["bin/Debug/netcoreapp2.0/publish/**"]
}
],
"targets": [
{
"type": "sftp",
"name": "AWS Linux",
"description": "Remote Linux Server",
"dir": "/home/ec2-user",
"host": "ec2-xx-xxx-xx-xxx.us-east-2.compute.amazonaws.com",
"port": 22,
"uploaded": [
"touch -t ${mtime_touch} ${remote_file}"],
"privateKey": "C:\\Users\\mikes\\aws-key-pair.pem",
"user": "ec2-user"
}
]
}
}
This doesnt set modified times correctly on AWS
Can you see any issues
@mikes-gh
What timestamp do you expect and what value does it set finally on the AWS machine?
I would expect the same time stamp on both, The timestamp seems to remain as the upload time on the AWS side
BTW beyond copare (file sync tool) seems to set the mtimes correctly using the same credentials so I dont think its a security problem