-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b23dcd
commit c45f51e
Showing
3 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
// Accessing the MongoDB connection details | ||
$mongoDbConnectionString = getenv('MONGO_DB_CONNECTION_STRING'); | ||
$mongoDbName = getenv('MONGO_DB_NAME'); | ||
$mongoDbCollectionName = getenv('MONGO_DB_COLLECTION_NAME'); | ||
|
||
// Accessing the GitHub details | ||
$githubUsername = getenv('GITHUB_USERNAME'); | ||
$githubPat = getenv('GITHUB_PAT'); | ||
|
||
// Example usage | ||
echo "MongoDB Connection String: $mongoDbConnectionString\n"; | ||
echo "MongoDB Name: $mongoDbName\n"; | ||
echo "MongoDB Collection Name: $mongoDbCollectionName\n"; | ||
echo "GitHub Username: $githubUsername\n"; | ||
echo "GitHub PAT: $githubPat\n"; | ||
|
||
// Remember to replace `echo` statements with your actual logic that uses these variables. |