mirror of
https://github.com/lahfir/agent-desktop.git
synced 2026-08-19 05:25:43 +00:00
fix: add clawhub login step before sync in CI
clawhub CLI requires explicit login, env var alone is not enough.
This commit is contained in:
parent
4abb4b9484
commit
208af12459
1 changed files with 5 additions and 2 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
|
@ -176,6 +176,11 @@ jobs:
|
|||
- name: Install ClawHub CLI
|
||||
run: npm i -g clawhub
|
||||
|
||||
- name: Authenticate with ClawHub
|
||||
run: clawhub login --token "$CLAWHUB_TOKEN" --no-browser
|
||||
env:
|
||||
CLAWHUB_TOKEN: ${{ secrets.CLAWHUB_TOKEN }}
|
||||
|
||||
- name: Publish all skills to ClawHub
|
||||
run: |
|
||||
clawhub sync \
|
||||
|
|
@ -183,5 +188,3 @@ jobs:
|
|||
--all \
|
||||
--bump patch \
|
||||
--changelog "Release ${{ needs.release-please.outputs.tag_name }}"
|
||||
env:
|
||||
CLAWHUB_TOKEN: ${{ secrets.CLAWHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue