Created
December 4, 2025 14:59
-
-
Save rad9800/704acf3a921fd4f7c50e21c2c0d74339 to your computer and use it in GitHub Desktop.
Configuration backup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pipeline { | |
| agent any | |
| environment { | |
| AWS_ACCESS_KEY_ID = 'AKIAYPXLJTUOYPOCTEVG' | |
| AWS_SECRET_ACCESS_KEY = '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' | |
| 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