diff --git a/.circleci/config.yml b/.circleci/config.yml index 812ee62..46e62c0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,11 +25,11 @@ jobs: name: Build Package command: sh packlink-build.sh ${CIRCLE_TAG} - run: - name: Publish package to cdn production + name: Publish package to production cdn command: | - gsutil cp artifact.zip gs://${PROD_CDN_URL}/modules/shopware/statics/latest.zip + gsutil cp Packlink.zip gs://${PROD_CDN_URL}/modules/shopware/statics/latest.zip gsutil acl ch -u AllUsers:R gs://${PROD_CDN_URL}/modules/shopware/statics/latest.zip - gsutil cp artifact.zip gs://${PROD_CDN_URL}/modules/shopware/statics/${CIRCLE_TAG}.zip + gsutil cp Packlink.zip gs://${PROD_CDN_URL}/modules/shopware/statics/${CIRCLE_TAG}.zip gsutil acl ch -u AllUsers:R gs://${PROD_CDN_URL}/modules/shopware/statics/${CIRCLE_TAG}.zip - slack/notify: color: "#00FF00" diff --git a/packlink-build.sh b/packlink-build.sh index 907361e..687b4ea 100755 --- a/packlink-build.sh +++ b/packlink-build.sh @@ -40,4 +40,4 @@ zip -r -q Packlink.zip Packlink/ cd ../ cp build/Packlink.zip Packlink.zip -rm build/Packlink.zip \ No newline at end of file +rm build/Packlink.zip