File tree Expand file tree Collapse file tree 6 files changed +66
-0
lines changed Expand file tree Collapse file tree 6 files changed +66
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish Continue Assistant/Block(s)
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ paths :
8
+ - blocks/**
9
+ - assistants/**
10
+ - .github/workflows/main.yaml
11
+
12
+ env :
13
+ OWNER_SLUG : my-org-slug # <-- TODO
14
+
15
+ jobs :
16
+ publish :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+
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 }}
Original file line number Diff line number Diff line change
1
+ # hub.continue.dev source control template
2
+
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 .
Original file line number Diff line number Diff line change
1
+ This directory stores all of the assistants that you want to be visible only within your organization.
2
+
3
+ To learn more about assistants, see [ the docs] ( https://docs.continue.dev/hub/assistants/intro ) .
Original file line number Diff line number Diff line change
1
+ This directory stores all of your public assistants.
2
+
3
+ To learn more about assistants, see [ the docs] ( https://docs.continue.dev/hub/assistants/intro ) .
Original file line number Diff line number Diff line change
1
+ This directory stores all of the blocks that you want to be visible only within your organization.
2
+
3
+ To learn more about blocks, see [ the docs] ( https://docs.continue.dev/hub/blocks/intro ) .
Original file line number Diff line number Diff line change
1
+ This directory stores all of your public blocks.
2
+
3
+ To learn more about blocks, see [ the docs] ( https://docs.continue.dev/hub/blocks/intro ) .
You can’t perform that action at this time.
0 commit comments