-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bypass devhub.sh script and just set up devhub to avoid setting defau…
…lt org
- Loading branch information
Showing
4 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: 2GP Feature Test | ||
name: Feature Test | ||
|
||
on: | ||
workflow_call: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
#!/bin/bash -e | ||
|
||
/usr/local/bin/devhub.sh | ||
# Authenticate using Auth URL | ||
echo "Authenticating to DevHub using auth url..." | ||
|
||
# Write the DEV_HUB_AUTH_URL to a file | ||
echo $DEV_HUB_AUTH_URL > /tmp/dev_hub_auth_url | ||
|
||
# Authenticate the DevHub | ||
sfdx org login sfdx-url -f /tmp/dev_hub_auth_url -a DevHub -d | ||
|
||
d2x job 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