Skip to content

Commit e570238

Browse files
committed
added changes to point to production env
1 parent 6f85837 commit e570238

2 files changed

Lines changed: 5 additions & 25 deletions

File tree

.github/workflows/build-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
# Build the extension
2020
- run: vsce package
2121
env:
22-
COMMIT_GRAPHQL_API_URL : https://api.commit-staging.dev/graphql
23-
COMMIT_API_BASE_URL : https://api.commit-staging.dev
24-
COMMIT_APP_BASE_URL : https://app.commit-staging.dev
25-
COMMIT_AUTH0_DOMAIN : https://commit-staging.us.auth0.com
22+
COMMIT_GRAPHQL_API_URL : https://api.commit.dev/graphql
23+
COMMIT_API_BASE_URL : https://api.commit.dev
24+
COMMIT_APP_BASE_URL : https://app.commit.dev
25+
COMMIT_AUTH0_DOMAIN : https://commitdev.auth0.com
2626
COMMIT_CLIENT_ID : ${{ secrets.COMMIT_CLIENT_ID_STAGING }}
2727
# Upload the VSIX file as an artifact with version number
2828
- uses: actions/upload-artifact@v3

.vscode/launch.json

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,7 @@
1717
],
1818
"preLaunchTask": "${defaultBuildTask}",
1919
// Environment variables to pass to the extension
20-
"env": {
21-
"COMMIT_GRAPHQL_API_URL": "https://api.commit-staging.dev/graphql",
22-
"COMMIT_API_BASE_URL": "https://api.commit-staging.dev",
23-
"COMMIT_APP_BASE_URL": "https://app.commit-staging.dev",
24-
"COMMIT_AUTH0_DOMAIN": "https://commit-staging.us.auth0.com",
25-
"COMMIT_CLIENT_ID": "6UcJAI6tXW6leADCdqsGqo5Aoo4fL5C8",
26-
}
27-
},
28-
{
29-
"name": "Extension Tests",
30-
"type": "extensionHost",
31-
"request": "launch",
32-
"args": [
33-
"--extensionDevelopmentPath=${workspaceFolder}",
34-
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
35-
],
36-
"outFiles": [
37-
"${workspaceFolder}/out/**/*.js",
38-
"${workspaceFolder}/dist/**/*.js"
39-
],
40-
"preLaunchTask": "tasks: watch-tests"
20+
"envFile": "${workspaceFolder}/.env"
4121
}
4222
]
4323
}

0 commit comments

Comments
 (0)