From 2ef75a510bbae257e1bfa8de7dacfe1ac7327833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BIDAULT?= Date: Tue, 3 Dec 2024 11:56:25 +0100 Subject: [PATCH] [PAYSHIP-3115] Deploy workflow ps8 (#1296) * Deployment workflow PS 8 * Deployment workflow PS 8 * Deployment workflow PS 8 * Push zip files at GCP bucket storage root * Push zip files at GCP bucket storage root * Fix draft release * Fix draft release * Fix draft release * Fix zip name file for GCP bucket in production * Remove clean assets job --- .github/workflows/update-release-draft.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/update-release-draft.yml b/.github/workflows/update-release-draft.yml index 41b3905e2..6ea71c802 100644 --- a/.github/workflows/update-release-draft.yml +++ b/.github/workflows/update-release-draft.yml @@ -46,18 +46,6 @@ jobs: cd ${{ inputs.repository-name }} zip -r ../${{ env.ZIP_NAME }} . -x '*.DS_Store*' '*.git*' '*/.php_cs.*' '*__MACOSX*' '*/node_modules' '*/.npmrc' '*/composer.*' '*/package.*' '*/.editorconfig' '*_dev*' '*test*' '*/tests/*' '*/Test/*' '*/Tests/*' '*/gha-creds-*.json' - - name: Clean existing assets ♻️ - shell: bash - run: | - curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1 - assets=`bin/hub api -t repos/${{ inputs.repository-name }}/releases/${{ steps.release_info.outputs.id }}/assets | awk '/\].url/ { print $2 }'` - for asset in $assets - do - bin/hub api -X DELETE $asset - done - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Publish to GitHub Release 🛩️ uses: actions/upload-release-asset@v1.0.2 env: