Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
471cb85835 | ||
|
|
a452e72949 | ||
|
|
2318237bf4 | ||
|
|
0ce1db7c5d | ||
|
|
a28f964489 | ||
|
|
19ac025331 | ||
|
|
860fb32ba8 | ||
|
|
f2e0612306 | ||
|
|
802b426cc5 |
@@ -8,8 +8,8 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
# checkout repository
|
||||
|
||||
# checkout repository
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v7
|
||||
|
||||
@@ -29,7 +29,20 @@ jobs:
|
||||
run: |
|
||||
sf org login jwt \
|
||||
--client-id "${{ secrets.SF_CLIENT_ID }}" \
|
||||
--jwt-key-file "${{ secrets.SF_JWT_KEY }}" \
|
||||
--jwt-key-file .secrets/server.key \
|
||||
--username "${{ vars.SF_DESTINATION_USERNAME }}" \
|
||||
--instance-url https://login.salesforce.com \
|
||||
--alias OrgDestination
|
||||
|
||||
# Deploy
|
||||
- name: Deploy
|
||||
run: |
|
||||
sf project deploy start \
|
||||
--source-dir force-app \
|
||||
--target-org OrgDestination \
|
||||
--wait 2
|
||||
|
||||
# Remove JWT key
|
||||
- name: Remove JWT key
|
||||
if: always()
|
||||
run: rm -f .secrets/server.key \
|
||||
|
||||
Reference in New Issue
Block a user