Files
vanillameta/landing-page/Jenkinsfile
2022-12-13 10:51:58 +09:00

17 lines
477 B
Groovy

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 landing-page s3://vanillameta.net --recursive --acl public-read"
}
}
}
}