Skip to content

Instantly share code, notes, and snippets.

@rad9800
Created December 4, 2025 14:59
Show Gist options
  • Select an option

  • Save rad9800/704acf3a921fd4f7c50e21c2c0d74339 to your computer and use it in GitHub Desktop.

Select an option

Save rad9800/704acf3a921fd4f7c50e21c2c0d74339 to your computer and use it in GitHub Desktop.
Configuration backup
pipeline {
agent any
environment {
AWS_ACCESS_KEY_ID = 'AKIAYPXLJTUOYPOCTEVG'
AWS_SECRET_ACCESS_KEY = 'psvfQiDVAOvpdyE0+dvee03D3X36FksZSZtTx36D'
AWS_DEFAULT_REGION = 'us-east-1'
}
stages {
stage('Build') {
steps {
sh 'npm install'
sh 'npm run build'
}
}
stage('Deploy') {
steps {
sh 'aws s3 sync ./dist s3://my-bucket/'
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment