Skip to content

Commit

Permalink
ci: add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
justorez committed Feb 13, 2024
1 parent 285d6c9 commit dd12db0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: release

permissions:
contents: write

on:
push:
tags:
- 'v*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v3
with:
node-version: 20

- run: npx changelogithub # or [email protected] if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# vite-vue-starter

[![Deploy](https://github.com/justorez/vite-vue-starter/actions/workflows/deploy.yml/badge.svg)](https://github.com/ustorez/vite-vue-starter/actions/workflows/deploy.yml)
[![deploy](https://github.com/justorez/vite-vue-starter/actions/workflows/deploy.yml/badge.svg)](https://github.com/justorez/vite-vue-starter/actions/workflows/deploy.yml)
[![release](https://github.com/justorez/vite-vue-starter/actions/workflows/release.yml/badge.svg)](https://github.com/justorez/vite-vue-starter/actions/workflows/release.yml)

> Hurry up! Go dev.
Expand Down

0 comments on commit dd12db0

Please sign in to comment.