Skip to content

Commit 9b9cc74

Browse files
fix: azure strapi deploy 6 (#145)
1 parent 67bcffd commit 9b9cc74

File tree

4 files changed

+367
-3
lines changed

4 files changed

+367
-3
lines changed

.github/workflows/cms.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,4 @@ jobs:
7070
with:
7171
app-name: 'strapi-cms-test-app'
7272
slot-name: 'Production'
73-
package: .
74-
skip-app-build: true
73+
package: .

apps/cms/config/plugins.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
export default () => ({});
1+
export default ({ env })_ => ({
2+
upload: {
3+
config: {
4+
provider: '@strapi/provider-upload-azure-storage',
5+
providerOptions: {
6+
accountName: env('STORAGE_ACCOUNT_NAME'),
7+
containerName: env('BLOB_CONTAINER_NAME'),
8+
},
9+
},
10+
},
11+
});

apps/cms/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"react": "^18.0.0",
2424
"react-dom": "^18.0.0",
2525
"react-router-dom": "^6.0.0",
26+
"strapi-provider-upload-azure-storage": "^3.5.0",
2627
"styled-components": "^6.0.0"
2728
},
2829
"devDependencies": {

0 commit comments

Comments
 (0)