feat: copy roadmap content (#6405)

* wip

* wip

* feat: content copy modal

* Update roadmap content JSON script

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Arik Chakma
2024-08-13 21:04:32 +06:00
committed by GitHub
parent 60e976e3a5
commit 33903771d9
38 changed files with 51284 additions and 8 deletions

View File

@@ -0,0 +1,37 @@
name: Refreshes roadmap content JSON
on:
workflow_dispatch: # allow manual run
schedule:
- cron: '0 0 * * *' # every day at midnight
jobs:
upgrade-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2.2.2
with:
version: 7.13.4
- name: Upgrade dependencies
run: |
pnpm install
npm run generate:roadmap-content-json
- name: Create PR
uses: peter-evans/create-pull-request@v4
with:
delete-branch: false
branch: "chore/update-content-json"
base: "master"
labels: |
dependencies
automated pr
reviewers: kamranahmedse,arikchakma
commit-message: "chore: update roadmap content json"
title: "Update roadmap content json"
body: |
Updates the roadmap content JSON files in the `public` folder.
Please review the changes and merge if everything looks good.