Skip to content

Commit 98da97b

Browse files
committed
Add webhooks for tracers and algorithms repositories
1 parent ff73e54 commit 98da97b

File tree

9 files changed

+13915
-74
lines changed

9 files changed

+13915
-74
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
/node_modules
33
/build
44
/npm-debug.log
5-
/package-lock.json
65
/src/backend/public
76
.DS_Store

environment.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const {
88

99
GITHUB_CLIENT_ID,
1010
GITHUB_CLIENT_SECRET,
11+
GITHUB_WEBHOOK_SECRET,
1112
} = process.env;
1213

1314
const __PROD__ = NODE_ENV === 'production';
@@ -18,6 +19,7 @@ const proxyPort = parseInt(PROXY_PORT);
1819

1920
const githubClientId = GITHUB_CLIENT_ID;
2021
const githubClientSecret = GITHUB_CLIENT_SECRET;
22+
const githubWebhookSecret = GITHUB_WEBHOOK_SECRET;
2123

2224
const buildPath = path.resolve(__dirname, 'build');
2325
const frontendBuildPath = path.resolve(buildPath, 'frontend');
@@ -36,9 +38,10 @@ module.exports = {
3638
proxyPort,
3739
githubClientId,
3840
githubClientSecret,
41+
githubWebhookSecret,
3942
frontendBuildPath,
4043
backendBuildPath,
4144
frontendSrcPath,
4245
backendSrcPath,
4346
apiEndpoint,
44-
};
47+
};

0 commit comments

Comments
 (0)