Skip to content

Commit 74954bc

Browse files
Merge pull request #5 from citizenwatchamerica/setup-github-workflow
Workflow Setup Use ENV Variables
2 parents 10411fd + 44493b5 commit 74954bc

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# .github/workflows/deploy-sfcc-app.yml
21
name: Deploy SFCC Contentful App
32

43
on:
5-
workflow_dispatch: # allows manual trigger from GitHub UI
4+
workflow_dispatch:
65
push:
76
branches:
87
- master

apps/salesforce-commerce-cloud/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"start": "vite",
2828
"build": "tsc && vite build",
2929
"test": "vitest",
30-
"deploy": "contentful-app-scripts upload --ci --bundle-dir ./dist --organization-id ***REMOVED-ORG-ID*** --definition-id ***REMOVED-DEFINITION-ID*** --token ***REMOVED-CMA-TOKEN***",
30+
"deploy": "contentful-app-scripts upload --ci --bundle-dir ./dist --organization-id ${CONTENTFUL_ORG_ID} --definition-id ${CONTENTFUL_APP_DEF_ID} --token ${CONTENTFUL_ACCESS_TOKEN}",
3131
"deploy:test": "contentful-app-scripts upload --ci --bundle-dir ./dist --organization-id ${DEV_TESTING_ORG_ID} --definition-id 66J3nYAMa13A1O7E8MDDMu --token ${TEST_CMA_TOKEN}"
3232
},
3333
"devDependencies": {

0 commit comments

Comments
 (0)