-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Showing
21 changed files
with
417 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ yarn-error.log\* | |
# local env files | ||
|
||
.env\*.local | ||
.env.keys | ||
|
||
# vercel | ||
|
||
|
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,6 +1,11 @@ | ||
NEXT_TELEMETRY_DISABLED=1 | ||
CHAINHOOKS_API_TOKEN=dev-api-token | ||
CRON_API_TOKEN=dev-api-token | ||
DATABASE_PATH=./sqlite.db | ||
TWITTER_API_KEY=dev | ||
TWITTER_API_SECRET_KEY=dev | ||
TWITTER_ACCESS_TOKEN=dev | ||
TWITTER_ACCESS_TOKEN_SECRET=dev | ||
|
||
# Client environment variables | ||
NEXT_PUBLIC_BASE_URL=http://localhost:3000 |
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,9 @@ | ||
# file used by the CI to build the app | ||
NEXT_TELEMETRY_DISABLED=1 | ||
CHAINHOOKS_API_TOKEN=dev-api-token | ||
CRON_API_TOKEN=dev-api-token | ||
DATABASE_PATH=./sqlite.db | ||
TWITTER_API_KEY=dev | ||
TWITTER_API_SECRET_KEY=dev | ||
TWITTER_ACCESS_TOKEN=dev | ||
TWITTER_ACCESS_TOKEN_SECRET=dev |
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,8 @@ | ||
#/-------------------.env.vault---------------------/ | ||
#/ cloud-agnostic vaulting standard / | ||
#/ [how it works](https://dotenvx.com/env-vault) / | ||
#/--------------------------------------------------/ | ||
|
||
# production | ||
DOTENV_VAULT_PRODUCTION="uRhaI/UpsVXjvkxWovxFhOcnZ2hhe5x6QbutGIVTs8RZZzOKTIccnRYv9q4fv2ZkQYPsQzsQS8RH8xrnsgxvv2g2PEsf3xXV93cSDDooo16gHCyYPEM0OSBQu9bakSm71V9+AfMv96Kha2hq/ThvYbZFfWvh9dZXROiZnIvjbkooyXD+yxIDbD/QVEQD8HwCm/o8LBfGsYF5NeQqs3guu3gFhxpyjhIt40zTxk2y/Qp4zoPPiqbTuVUO4DEAioXCVoRTb3IKz7lfW7zQnUvwFJkZ9bNLw2z52DcaSYJfxmwlkfgAMx2+M2ii8LK445zKCvOJ2zO6w50W+TWY1rOiyQbUb3FVqUUy+LbGWxQInTOUX4cbq2REUxEHz37iHgAAGKdwl8wbYBIzM+fVsZ9kmkKg0vneGw+vdQ7SFWNuZmpDnaG3gDOMbPmX+xNCtJvnNum6Ar24I2oyQonHJLTyO308rNpQrfIEV1JCJkrAKMl7iM/fRxCKxmVSCog+nOG66r0pGftm5JQ8fECjspzPxnihosKmvLqfrPAhboVd" | ||
|
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,14 @@ | ||
name: cron-weekly | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 16 * * 6' | ||
jobs: | ||
cron: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: hourly-cron-job | ||
run: | | ||
curl --request GET \ | ||
--url 'https://stackspulse.com/api/cron/weekly-users' \ | ||
--header 'Authorization: Bearer ${{ secrets.CRON_API_TOKEN }}' |
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 |
---|---|---|
|
@@ -27,6 +27,7 @@ yarn-error.log* | |
|
||
# local env files | ||
.env*.local | ||
.env.keys | ||
|
||
# vercel | ||
.vercel | ||
|
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
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
Oops, something went wrong.