Skip to content

2.6.0

2.6.0 #20

Workflow file for this run

name: Auto release
on:
push:
tags: ['v*']
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-node@v6
with:
node-version: 24
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- uses: benjlevesque/short-sha@v3.0
id: short-sha
- name: Publish
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: master
keep_history: true
allow_empty_commit: false
build_dir: dist
commit_message: 'Auto publish from commit ${{ steps.short-sha.outputs.sha }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}