Skip to content

Commit d7dd153

Browse files
committed
tsx
1 parent 489331d commit d7dd153

File tree

7 files changed

+19
-49
lines changed

7 files changed

+19
-49
lines changed

.github/workflows/main.yaml

Lines changed: 10 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,26 @@
1-
name: Publish Continue Assistant/Block(s)
1+
name: Publish Rules to hub.continue.dev
22

33
on:
44
push:
55
branches:
66
- main
77
paths:
8-
- blocks/**
9-
- assistants/**
8+
- src/**
109
- .github/workflows/main.yaml
1110

1211
env:
13-
OWNER_SLUG: my-org-slug # <-- TODO
12+
OWNER_SLUG: continuedev
1413

1514
jobs:
1615
publish:
1716
runs-on: ubuntu-latest
1817
steps:
1918
- uses: actions/checkout@v4
2019

21-
# Public blocks
22-
- uses: continuedev/continue-publish-action@v1
23-
with:
24-
owner-slug: ${{ env.OWNER_SLUG }}
25-
paths: blocks/public/**
26-
api-key: ${{ secrets.CONTINUE_API_KEY }}
27-
28-
# Public assistants
29-
- uses: continuedev/continue-publish-action@v1
30-
with:
31-
owner-slug: ${{ env.OWNER_SLUG }}
32-
paths: assistants/public/**
33-
is-assistant: true
34-
api-key: ${{ secrets.CONTINUE_API_KEY }}
35-
36-
# Private to organization blocks
37-
- uses: continuedev/continue-publish-action@v1
38-
with:
39-
owner-slug: ${{ env.OWNER_SLUG }}
40-
paths: blocks/private/**
41-
visibility: organization
42-
api-key: ${{ secrets.CONTINUE_API_KEY }}
43-
44-
# Private to organization assistants
45-
- uses: continuedev/continue-publish-action@v1
46-
with:
47-
owner-slug: ${{ env.OWNER_SLUG }}
48-
paths: assistants/private/**
49-
is-assistant: true
50-
visibility: organization
51-
api-key: ${{ secrets.CONTINUE_API_KEY }}
20+
# # Private to organization blocks
21+
# - uses: continuedev/continue-publish-action@v1
22+
# with:
23+
# owner-slug: ${{ env.OWNER_SLUG }}
24+
# paths: blocks/private/**
25+
# visibility: organization
26+
# api-key: ${{ secrets.CONTINUE_API_KEY }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# hub.continue.dev source control template
1+
# Continue internal rules
22

3-
This repository is a template for managing your custom assistants and blocks on hub.continue.dev. For a quickstart guide, read the docs at https://docs.continue.dev/hub/source-control.
3+
This repository contains rules that are shared across multiple Continue repositories.

assistants/private/info.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

assistants/public/info.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

blocks/private/info.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

blocks/public/info.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/tsx.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
globs: "**/*.tsx"
3+
---
4+
5+
In `.tsx` files, adhere to the following guidelines:
6+
7+
- Never use `useEffect`

0 commit comments

Comments
 (0)