From 8645ff308199d805267f4a532cea839512edf43d Mon Sep 17 00:00:00 2001 From: Fabio de Agostini Schiozer <66429123+fabioschiozer@users.noreply.github.com> Date: Fri, 24 May 2024 16:01:23 -0300 Subject: [PATCH] Delete .github/workflows/releaseTheKraken.yml --- .github/workflows/releaseTheKraken.yml | 49 -------------------------- 1 file changed, 49 deletions(-) delete mode 100644 .github/workflows/releaseTheKraken.yml diff --git a/.github/workflows/releaseTheKraken.yml b/.github/workflows/releaseTheKraken.yml deleted file mode 100644 index bf52521..0000000 --- a/.github/workflows/releaseTheKraken.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: Release The Kraken - -on: - workflow_dispatch: - inputs: - tag: - description: Tag from where the artifact is going to be downloaded and used as base for the deploy - type: string - required: true - environment: - description: Environment that is going to be used - type: string - required: true - -# Jobs to be executed -jobs: - build-deploy: - runs-on: ubuntu-latest - container: tnascimento013/latam_salesforcedx_industries_orgdevmodebuilds:latest - environment: ${{ inputs.environment }} - steps: - - name: Installing missing CLIs / Plugins - run: echo "y" | sf plugins install sf-orgdevmode-builds - - - name: Download Artifact - uses: dsaltares/fetch-gh-release-asset@1.1.1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - version: tags/${{ inputs.tag }} - file: ${{ github.event.repository.name }}-${{ inputs.tag }}.tar.gz - - - name: Unzip artifact - run: | - mkdir outputdir - tar -xzf ${{ github.event.repository.name }}-${{ inputs.tag }}.tar.gz -C outputdir/ - - - name: Extracting private key Non Prod - if: ${{ inputs.environment != 'prod' }} - working-directory: ./outputdir/ - run: 'echo "${{ secrets.JWT_KEY_NONPROD }}" > server.key' - - - name: Extracting private key Prod - if: ${{ inputs.environment == 'prod' }} - working-directory: ./outputdir/ - run: 'echo "${{ secrets.JWT_KEY_PROD }}" > server.key' - - - name: Running the build & deploy - working-directory: ./outputdir/ - run: sf builds deploy --buildfile manifest/buildfile.json --client-id ${{ vars.CLIENT_ID }} --instance-url ${{ vars.INSTANCE_URL }} --username ${{ vars.USERNAME }} --jwt-key-file server.key