Update releaseCreateOnPushTag.yml #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Branch develop - on push | |
on: | |
push: | |
branches: | |
- develop | |
# Jobs to be executed | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
container: tnascimento013/latam_salesforcedx_industries_orgdevmodebuilds:latest | |
environment: qa | |
steps: | |
- name: Installing missing CLIs / Plugins | |
run: echo "y" | sf plugins install sf-orgdevmode-builds | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Extracting private key | |
run: 'echo "${{ secrets.JWT_KEY_NONPROD }}" > server.key' | |
- name: Running the build & deploy | |
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 |