Skip to content

Commit 1e2d333

Browse files
feat: deploy second wragler (#283)
1 parent 06f0001 commit 1e2d333

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Jenkinsfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ pipeline {
1818
when {
1919
branch 'main'
2020
}
21-
environment {
22-
deploy_env = "dev"
23-
}
2421
stages {
2522
stage("Install dependencies") {
2623
steps {
@@ -37,7 +34,8 @@ pipeline {
3734
usernamePassword(credentialsId: 'cf-workers-creds', usernameVariable: 'CLOUDFLARE_ACCOUNT_ID', passwordVariable: 'CLOUDFLARE_API_TOKEN'),
3835
]) {
3936
sh """
40-
npx wrangler deploy --config apps/blog-bff/wrangler.toml --env "$deploy_env"
37+
npx wrangler deploy --config apps/blog-bff/wrangler.toml --env dev
38+
npx wrangler deploy --config apps/blog-bff/wrangler.toml --env prod
4139
"""
4240
}
4341
}

0 commit comments

Comments
 (0)