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
2 changes: 1 addition & 1 deletion .github/workflows/create-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ jobs:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./templates.json
asset_name: templates.json
asset_content_type: application/json
asset_content_type: application/json
23 changes: 23 additions & 0 deletions .github/workflows/publish-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish Templates
on:
workflow_dispatch:
inputs:
environment:
description: 'Choose deployment environment'
required: true
type: choice
options:
- Reflex Build Dev
- Reflex Build Stg
- Reflex Build Prod
jobs:
trigger-second-repo:
runs-on: ubuntu-latest
steps:
- name: Trigger second repo
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
repository: reflex-dev/flexgen
event-type: release
client-payload: '{"release": ${{ toJson(github.event.release) }}}'
16 changes: 8 additions & 8 deletions templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@
"description": "A minimal template.",
"demo_url": "https://blank-template.reflex.run",
"hidden": false,
"reflex_build": true
"reflex_build": false
},
{
"name": "dashboard",
"description": "A dashboard with tables and graphs.",
"demo_url": "https://dashboard-new.reflex.run/",
"hidden": false,
"reflex_build": true
"reflex_build": false
},
{
"name": "sidebar",
"description": "A template with a sidebar to navigate pages.",
"demo_url": "https://sidebar-template.reflex.run",
"hidden": true,
"reflex_build": true
"reflex_build": false
},
{
"name": "sales",
"description": "An app to manage sales and customers.",
"demo_url": "https://sales-new.reflex.run/",
"hidden": false,
"reflex_build": true
"reflex_build": false
},
{
"name": "ai_image_gen",
Expand All @@ -40,14 +40,14 @@
"description": "A template for continuous integration.",
"demo_url": "https://cijob.reflex.run/",
"hidden": false,
"reflex_build": true
"reflex_build": false
},
{
"name": "api_admin_panel",
"description": "An admin panel for an api.",
"demo_url": "https://api-admin-panel.reflex.run/",
"hidden": false,
"reflex_build": true
"reflex_build": false
},
{
"name": "nba",
Expand All @@ -73,7 +73,7 @@
"name": "reflex-llamaindex-template",
"description": "A template for LlamaIndex.",
"hidden": false,
"reflex_build": false
"reflex_build": true
}
]
}
}