diff --git a/deploy.Jenkinsfile b/deploy.Jenkinsfile index f4f873e..7abcd19 100644 --- a/deploy.Jenkinsfile +++ b/deploy.Jenkinsfile @@ -20,7 +20,9 @@ pipeline { stages { stage('deploy') { steps { - sh "make serverless-deploy.${params.ENVIRONMENT}" + withAWS(role:'r-builds-deploy') { + sh "make serverless-deploy.${params.ENVIRONMENT}" + } } } }