Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
GOOGLE_API_KEY=
NOTION_TOKEN=
KEKA_CLIENT_ID=
KEKA_CLIENT_SECRET=
KEKA_API_KEY=
KEKA_COMPANY=procedure
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
run: npm run build
env:
NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}
KEKA_CLIENT_ID: ${{ secrets.KEKA_CLIENT_ID }}
KEKA_CLIENT_SECRET: ${{ secrets.KEKA_CLIENT_SECRET }}
KEKA_API_KEY: ${{ secrets.KEKA_API_KEY }}
KEKA_COMPANY: ${{ secrets.KEKA_COMPANY }}

- name: Check bundle size
run: npm run bundle:check
4 changes: 4 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ jobs:
run: ${{ steps.detect-package-manager.outputs.runner }} next build
env:
NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}
KEKA_CLIENT_ID: ${{ secrets.KEKA_CLIENT_ID }}
KEKA_CLIENT_SECRET: ${{ secrets.KEKA_CLIENT_SECRET }}
KEKA_API_KEY: ${{ secrets.KEKA_API_KEY }}
KEKA_COMPANY: ${{ secrets.KEKA_COMPANY }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/rebuild-jobs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Rebuild for Job Updates

on:
schedule:
# Run twice daily at 6am and 6pm UTC
- cron: "0 6,18 * * *"
# Allow manual trigger
workflow_dispatch:

jobs:
trigger-rebuild:
runs-on: ubuntu-latest
steps:
- name: Trigger Pages Deployment
uses: actions/github-script@v7
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'nextjs.yml',
ref: 'main',
});
Loading
Loading