Skip to content

Commit

Permalink
Update auth (#26)
Browse files Browse the repository at this point in the history
* Update extension reqs

* AUTHFILE

* demo settings
  • Loading branch information
nigelhu authored May 3, 2024
1 parent 8365fad commit b2bb0d3
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 87 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ jobs:

# sf code scanner
- name: run sf scanner
run: sf scanner:run --target force-app -f table -s 2 --normalize-severity
run: sf scanner:run --target force-app -f table -s 3 --normalize-severity

# Authorise devhub
- name: Autenticate DevHub
run: |
echo "${{ secrets.SERVER_KEY }}" > "server.key"
sf org login jwt -i ${{ secrets.CONSUMER_KEY }} -f server.key -o ${{ secrets.USERNAME }} -d -a hub-org
echo ${{ secrets.DEVHUB_SFDX_URL }} > ./SFDX_URL_STORE.txt
sf org login sfdx-url -f ./SFDX_URL_STORE.txt -a hub-org -d
# Build Scratch Org
- name: Run org_builder
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ JWT/server.crt
JWT/server.csr
JWT/server.key
JWT/server.pass.key
authFile.json
4 changes: 2 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"njqdev.vscode-python-typehint",
"mechatroner.rainbow-csv",
"salesforce.salesforcedx-vscode-core",
"hugoom.sfdx-autoheader",
"salesforce.salesforce-vscode-slds",
"salesforce.salesforcedx-vscode-soql",
"salesforce.salesforcedx-vscode-visualforce",
"ms-python.black-formatter",
"ms-python.flake8"
"ms-python.flake8",
"peterweinberg.apexdox-vs-code"
]
}
30 changes: 15 additions & 15 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/.sfdx": true
},
"editor.formatOnSave": true,
"files.autoSave": "onFocusChange",
"prettier.useTabs": true,
"prettier.tabWidth": 4,
"editor.detectIndentation": false,
"editor.insertSpaces": true,
"apexPMD.runOnFileOpen": true,
"apexPMD.priorityErrorThreshold": 2,
"apexPMD.priorityWarnThreshold": 4
}
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/.sfdx": true
},
"editor.formatOnSave": true,
"files.autoSave": "onFocusChange",
"prettier.useTabs": true,
"prettier.tabWidth": 4,
"editor.detectIndentation": false,
"editor.insertSpaces": true,
"apexPMD.runOnFileOpen": true,
"apexPMD.priorityErrorThreshold": 2,
"apexPMD.priorityWarnThreshold": 4
}
67 changes: 0 additions & 67 deletions force-app/main/default/appMenus/AppSwitcher.appMenu-meta.xml

This file was deleted.

0 comments on commit b2bb0d3

Please sign in to comment.