diff --git a/landing-page/Jenkinsfile b/landing-page/Jenkinsfile new file mode 100644 index 0000000..b082544 --- /dev/null +++ b/landing-page/Jenkinsfile @@ -0,0 +1,16 @@ +pipeline { + agent any + tools { + git "git" + } + stages { + stage('deploy') { + steps { + sh "aws configure set region $AWS_DEFAULT_REGION" + sh "aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID" + sh "aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY" + sh "aws s3 cp web s3://vanillameta.net --recursive --acl public-read" + } + } + } +}