Skip to content

Commit

Permalink
config: update environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-rw committed Dec 21, 2023
1 parent bdcb431 commit e50c21c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/dump-api-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ on:
- cron: "0 12 * * FRI" # At 12:00 on Friday.
workflow_dispatch:

env:
HOMARR_DOCUMENTATION_GH_TOKEN: "${{ secrets.HOMARR_DOCUMENTATION_GH_TOKEN }}"

jobs:
dump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm run
- run: npm run api-dump-contributors
2 changes: 1 addition & 1 deletion scripts/dump-contributors.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const z = require('zod');
const fs = require('fs');

const schema = z.object({
GITHUB_API_TOKEN: z.string()
HOMARR_DOCUMENTATION_GH_TOKEN: z.string()
});

const env = schema.parse(process.env);
Expand Down

0 comments on commit e50c21c

Please sign in to comment.