Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

aws cli last successful deploy

applicationName="my-application-name"
deploymentGroupName="my-deployment-group"
lastSuccessfulDeployment=$(aws deploy list-deployments --application-name $applicationName --deployment-group-name $deploymentGroupName --include-only-statuses "Succeeded" --query 'deployments[0]' --output text)
s3Location=$(aws deploy get-deployment --deployment-id $lastSuccessfulDeployment --query 'deploymentInfo.revision.s3Location')
aws deploy create-deployment --application-name $applicationName --deployment-group-name $deploymentGroupName --s3-location $s3Location
Comment

PREVIOUS NEXT
Code Example
Shell :: git The requested URL returned error: 403 
Shell :: github terraform integration 
Shell :: Wait for Android emulator to be running before next shell command 
Shell :: pinch on linux 
Shell :: run shell script every 2 days 
Shell :: bash script colors 
Shell :: git remove one commit in the middle 
Shell :: aws php install sendmail fedora 
Shell :: gnome-desktop-item-edit install for kali 
Shell :: ibus ubuntu 22.04 not working 
Shell :: copy off powershell into text editor 
Shell :: create ovpn file linux 
Shell :: ubuntu install bin for all users 
Shell :: git pull remote branch that does not exist locally 
Shell :: cut command in powershell windows 
Shell :: restart hamachi fedora 
Shell :: vagrant snapshot commands 
Shell :: install xinput 
Shell :: Bulk user add with passwords bash script 
Shell :: Run the commands for your corresponding operating system: 
Shell :: * Github. : [RUKS](https://github.com/muntazir-halim) 
Shell :: from .vendor.pip_shims.shims import InstallCommand 
Shell :: apt-get update qq 
Shell :: git lfs track folder 
Shell :: bash rename different file names with zero padding 
Shell :: snap opera mini install ubuntu 
Shell :: spryker install silex 
Shell :: Authentication required. System policy prevents WiFi scans 
Shell :: use lines from file for bash command 
Shell :: kompozer download ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =