Skip to content

Commit

Permalink
Removing push to GCP Storage CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
djodjo3 committed Jun 29, 2021
1 parent fb87e9c commit 639b52a
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,6 @@ jobs:
echo ::set-output name=MINOR::$(echo $GITHUB_REF | cut -d / -f 3 | cut -d '.' -f 2)
echo ::set-output name=PATCH::$(echo $GITHUB_REF | cut -d / -f 3 | cut -d '.' -f 3)
- name: Gcloud auth and write env file
run: |
echo $GOOGLE_APPLICATION_CREDENTIALS > token.json
gcloud auth activate-service-account --key-file=token.json
gcloud container clusters get-credentials $GCLOUD_CLUSTER \
--zone europe-west1-c --project distribution-integration
gcloud auth configure-docker
rm token.json
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.INTEGRATION_GOOGLE_APPLICATION_CREDENTIALS }}
GCLOUD_CLUSTER: ${{ secrets.INTEGRATION_GCLOUD_CLUSTER }}

- name: Checkout repository
uses: actions/checkout@master

Expand Down Expand Up @@ -59,12 +47,3 @@ jobs:
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- run: |
gsutil cp dist/psaccountsVue.umd.min.js gs://prestashop-vuejs-cdn/accounts/$MAJOR.$MINOR.$PATCH/prestashop_accounts_vue_components.min.js
gsutil cp dist/psaccountsVue.umd.min.js gs://prestashop-vuejs-cdn/accounts/$MAJOR.$MINOR.x/prestashop_accounts_vue_components.min.js
gsutil cp dist/psaccountsVue.umd.min.js gs://prestashop-vuejs-cdn/accounts/$MAJOR.x.x/prestashop_accounts_vue_components.min.js
env:
MAJOR: ${{ steps.get_tag.outputs.MAJOR }}
MINOR: ${{ steps.get_tag.outputs.MINOR }}
PATCH: ${{ steps.get_tag.outputs.PATCH }}

0 comments on commit 639b52a

Please sign in to comment.