Skip to content

chore: release v0.2.2 #5

chore: release v0.2.2

chore: release v0.2.2 #5

Workflow file for this run

name: Publish packages
on:
push:
tags: ["v*"]
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
npm:
if: github.repository == 'Hdoc1509/tree-sitter-hygen-template'
uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
secrets:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
crates:
if: github.repository == 'Hdoc1509/tree-sitter-hygen-template'
uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main
secrets:
CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_REGISTRY_TOKEN}}
pypi:
if: github.repository == 'Hdoc1509/tree-sitter-hygen-template'
uses: tree-sitter/workflows/.github/workflows/package-pypi.yml@main
secrets:
PYPI_API_TOKEN: ${{secrets.PYPI_API_TOKEN}}
gh-pages:
runs-on: ubuntu-22.04
if: github.repository == 'Hdoc1509/tree-sitter-hygen-template'
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- run: ./scripts/prepare-to-publish.sh
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./release
publish_branch: release