docs: render rareskills map with mermaid #1
Workflow file for this run
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: Release | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| permissions: | |
| contents: write | |
| jobs: | |
| create-release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Ensure tag points at current commit | |
| run: | | |
| tag_ref="${GITHUB_REF#refs/tags/}" | |
| echo "Releasing tag: ${tag_ref}" | |
| git rev-parse "${tag_ref}" | |
| - name: Create GitHub release with generated notes | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| tag_ref="${GITHUB_REF#refs/tags/}" | |
| if gh release view "${tag_ref}" >/dev/null 2>&1; then | |
| echo "Release ${tag_ref} already exists; skipping create." | |
| else | |
| gh release create "${tag_ref}" --generate-notes | |
| fi |