Skip to content

Commit

Permalink
fix: github action
Browse files Browse the repository at this point in the history
  • Loading branch information
songhn233 authored Aug 9, 2020
1 parent 34b505b commit 511a4be
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: ReleaseWorkflow
on:
push:
branches:
- master
tags:
- v*

Expand All @@ -25,27 +23,5 @@ jobs:
npm publish
env:
NODE_AUTH_TOKEN: '${{ secrets.npm_token }}'
github-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: master
- name: Stepup Node
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body_path: https://github.com/theme-kaze/hexo-theme-kaze/blob/master/version.md
draft: false
prerelease: false



0 comments on commit 511a4be

Please sign in to comment.