feat: implementation of us3 #9
Workflow file for this run
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 pull request | |
on: | |
pull_request: | |
branches: | |
- develop | |
# Jobs to be executed | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
container: tnascimento013/latam_salesforcedx_industries_orgdevmodebuilds:latest | |
environment: build | |
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 |