Skip to content

Commit

Permalink
chore: update .github/workflows/ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 29, 2021
1 parent 92404f9 commit 19214ca
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,12 @@ jobs:
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'

- name: Create Release
id: create_release
uses: actions/create-release@latest
uses: ncipollo/release-action@v1
if: steps.create_tag.outputs.successful
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.create_tag.outputs.version }}
release_name: ${{ steps.create_tag.outputs.version }}
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ steps.create_tag.outputs.version }}
tag: ${{ steps.create_tag.outputs.version }}
body: |
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-code-preview@${{steps.create_tag.outputs.versionNumber}}/file/README.md)
Expand All @@ -56,8 +54,6 @@ jobs:
${{ steps.changelog.outputs.compareurl }}
${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 19214ca

Please sign in to comment.