Update grok-4.yaml #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Continue Assistant/Block(s) | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
paths: | |
- blocks/** | |
- assistants/** | |
- .github/workflows/main.yaml | |
env: | |
OWNER_SLUG: xai | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Public blocks | |
- uses: continuedev/continue-publish-action@v1 | |
with: | |
owner-slug: ${{ env.OWNER_SLUG }} | |
paths: blocks/public/** | |
api-key: ${{ secrets.CONTINUE_API_KEY }} | |
# Public assistants | |
- uses: continuedev/continue-publish-action@v1 | |
with: | |
owner-slug: ${{ env.OWNER_SLUG }} | |
paths: assistants/public/** | |
is-assistant: true | |
api-key: ${{ secrets.CONTINUE_API_KEY }} | |
# Private blocks | |
- uses: continuedev/continue-publish-action@v1 | |
with: | |
owner-slug: ${{ env.OWNER_SLUG }} | |
paths: blocks/private/** | |
private: true | |
api-key: ${{ secrets.CONTINUE_API_KEY }} | |
# Private assistants | |
- uses: continuedev/continue-publish-action@v1 | |
with: | |
owner-slug: ${{ env.OWNER_SLUG }} | |
paths: assistants/private/** | |
is-assistant: true | |
private: true | |
api-key: ${{ secrets.CONTINUE_API_KEY }} |