Skip to content

Commit

Permalink
feat(ci): Trigger regeneration of community docs on release (#650)
Browse files Browse the repository at this point in the history
# Description
Triggers a rebuild of the community docs when we release a new CLI
version.

## Checklist
(For exoscale contributors)

* [ ] Changelog updated (under *Unreleased* block)
* [ ] Testing

## Testing

`GH_TOKEN` was set the value in the secret.
```console
$ export GH_TOKEN=<redacted>
$ gh workflow run gen-cli.yaml -R exoscale/community-ng -f version=master
✓ Created workflow_dispatch event for gen-cli.yaml at main

To see runs for this workflow, try: gh run list --workflow=gen-cli.yaml
```
  • Loading branch information
wdullaer authored Nov 13, 2024
1 parent 26d4184 commit 3f94622
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
- 'v[0-9]+\.[0-9]+\.[0-9]+'

jobs:
community-docs:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.EXOSCALE_BUILD_GH_TOKEN }}
steps:
- run: gh workflow run gen-cli.yaml -R exoscale/community-ng -f version=${{ github.ref_name }}
goreleaser:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 3f94622

Please sign in to comment.