Skip to content

Commit f32a747

Browse files
ChronosSFCopilot
andauthored
fix(cd): switching master deployment to release on production (#309)
* fix(cd): switching master deployment to release on production * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * chore(*): adding missing ci scripts --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 12a8bee commit f32a747

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/_cd-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ permissions:
2323
contents: read
2424

2525
env:
26-
BUILD_TYPE: ${{ contains(inputs.target_ref, 'master') && 'staging' || 'staging' }} # master targets production but for testing purposes we only deploy to staging
26+
BUILD_TYPE: ${{ (inputs.target_ref == 'master' || inputs.target_ref == 'refs/heads/master') && 'production' || 'staging' }}
2727

2828
jobs:
2929
build-and-deploy:

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@
4040
"build:staging:wc:jp": "npm run build-staging:webcomponents:jp --prefix docs/xplat",
4141
"build:staging:blazor:en": "npm run build-staging:blazor --prefix docs/xplat",
4242
"build:staging:blazor:jp": "npm run build-staging:blazor:jp --prefix docs/xplat",
43+
"build:production:angular:en": "npm run build-production:en --prefix docs/angular",
44+
"build:production:angular:jp": "npm run build-production:jp --prefix docs/angular",
45+
"build:production:react:en": "npm run build-production:react --prefix docs/xplat",
46+
"build:production:react:jp": "npm run build-production:react:jp --prefix docs/xplat",
47+
"build:production:wc:en": "npm run build-production:webcomponents --prefix docs/xplat",
48+
"build:production:wc:jp": "npm run build-production:webcomponents:jp --prefix docs/xplat",
49+
"build:production:blazor:en": "npm run build-production:blazor --prefix docs/xplat",
50+
"build:production:blazor:jp": "npm run build-production:blazor:jp --prefix docs/xplat",
4351
"angular:dev": "npm run dev --prefix docs/angular",
4452
"angular:dev:en": "npm run dev:en --prefix docs/angular",
4553
"angular:dev:jp": "npm run dev:jp --prefix docs/angular",

0 commit comments

Comments
 (0)