workflow: update workflow
This commit is contained in:
parent
3812f784af
commit
83839ff8a1
|
@ -1,4 +1,4 @@
|
||||||
name: deploy
|
name: Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
|
@ -1,24 +1,17 @@
|
||||||
name: Create Release
|
name: Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
release:
|
||||||
name: Create Release
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@master
|
|
||||||
|
|
||||||
- name: Create Release for Tag
|
|
||||||
id: release_tag
|
|
||||||
uses: yyx990803/release-tag@master
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref }}
|
fetch-depth: 0
|
||||||
body: |
|
- run: npx conventional-github-releaser -p angular
|
||||||
Please refer to [CHANGELOG.md](https://github.com/kailong321200875/vue-element-plus-admin/blob/master/CHANGELOG.md) for details.
|
env:
|
||||||
|
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|
Loading…
Reference in New Issue