Skip to content

Commit

Permalink
Deployment workflow PS 1.7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
seiwan committed Nov 18, 2024
1 parent 09dcf07 commit aaf202d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
env-lower: ${{ matrix.env.lower }}
triggered: ${{ matrix.env.triggered }}
zip-name: ${{ needs.zip-name-matrix.outputs[matrix.env.lower] }}
repository-name: ${{ github.event.repository.name }}
prestashop-version: ps7
secrets: inherit

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/push-to-bucket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
zip-name:
required: true
type: string
repository-name:
required: true
type: string
default: "ps_checkout"
prestashop-version:
required: true
type: string
Expand Down Expand Up @@ -62,4 +66,6 @@ jobs:

- name: Push to GCP bucket storage 🛩️
shell: bash
run: gsutil cp ${{ inputs.zip-name }} gs://ps-eu-w1-checkout-assets-${{ inputs.env-lower }}/zips/${{ inputs.prestashop-version }}
run: |
cd ${{ inputs.repository-name }}
gsutil cp ${{ inputs.zip-name }} gs://ps-eu-w1-checkout-assets-${{ inputs.env-lower }}/zips/${{ inputs.prestashop-version }}

0 comments on commit aaf202d

Please sign in to comment.