Skip to content

Commit bc180d5

Browse files
Initial commit
0 parents  commit bc180d5

File tree

6 files changed

+66
-0
lines changed

6 files changed

+66
-0
lines changed

.github/workflows/main.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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 blocks
37+
- uses: continuedev/continue-publish-action@v1
38+
with:
39+
owner-slug: ${{ env.OWNER_SLUG }}
40+
paths: blocks/private/**
41+
private: true
42+
api-key: ${{ secrets.CONTINUE_API_KEY }}
43+
44+
# Private 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+
private: true
51+
api-key: ${{ secrets.CONTINUE_API_KEY }}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# @owner on hub.continue.dev
2+
3+
You will find more information in the [Continue 1.0 Partnership Guide](https://continuedev.notion.site/Continue-1-0-Partnership-Guide-1811d55165f7802686fcd0b70464e778).

assistants/private/info.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This directory stores all of your private assistants.
2+
3+
You will find more information in the [Continue 1.0 Partnership Guide](https://continuedev.notion.site/Continue-1-0-Partnership-Guide-1811d55165f7802686fcd0b70464e778).

assistants/public/info.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This directory stores all of your public assistants.
2+
3+
You will find more information in the [Continue 1.0 Partnership Guide](https://continuedev.notion.site/Continue-1-0-Partnership-Guide-1811d55165f7802686fcd0b70464e778).

blocks/private/info.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This directory stores all of your private blocks.
2+
3+
You will find more information in the [Continue 1.0 Partnership Guide](https://continuedev.notion.site/Continue-1-0-Partnership-Guide-1811d55165f7802686fcd0b70464e778).

blocks/public/info.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This directory stores all of your public blocks.
2+
3+
You will find more information in the [Continue 1.0 Partnership Guide](https://continuedev.notion.site/Continue-1-0-Partnership-Guide-1811d55165f7802686fcd0b70464e778).

0 commit comments

Comments
 (0)