This commit is contained in:
Vendored
+3
@@ -42,10 +42,13 @@ pipeline {
|
|||||||
echo 'Generating manifest and deploying to S3...'
|
echo 'Generating manifest and deploying to S3...'
|
||||||
sh 'npm run generate:output'
|
sh 'npm run generate:output'
|
||||||
|
|
||||||
|
sh 'tar -czvf migrations.tar.gz -C migrations/ .'
|
||||||
|
|
||||||
withAWS(credentials: 'aws-jeff-credentials-id', region: 'sa-east-1') {
|
withAWS(credentials: 'aws-jeff-credentials-id', region: 'sa-east-1') {
|
||||||
script {
|
script {
|
||||||
echo "Uploading to S3..."
|
echo "Uploading to S3..."
|
||||||
sh "aws s3 cp dist/manifest.json ${S3_BUCKET}/manifest.json"
|
sh "aws s3 cp dist/manifest.json ${S3_BUCKET}/manifest.json"
|
||||||
|
sh "aws s3 cp migrations.tar.gz ${S3_BUCKET}/migrations.tar.gz"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# Migrations
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user