Skip to content

Commit

Permalink
feat: generate release log
Browse files Browse the repository at this point in the history
Signed-off-by: seven <zilisheng1996@gmail.com>
  • Loading branch information
Blankll committed Jan 24, 2024
1 parent f1c3534 commit 4105e97
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/page-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,23 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm run docs:build
- name: Generate changelog
uses: jaywcjlove/changelog-generator@main
if: ${{ github.ref == 'refs/heads/master' }}
id: changelog
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build Release
uses: jaywcjlove/create-tag-action@main
if: ${{ github.ref == 'refs/heads/master' }}
id: tag_release
with:
release: true
token: ${{ secrets.GITHUB_TOKEN }}

body: |
${{ steps.changelog.outputs.compareurl }}
${{ steps.changelog.outputs.changelog }}
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
if: steps.tag_release.outputs.successful
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dockit-site",
"version": "0.0.7",
"version": "0.0.8",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 4105e97

Please sign in to comment.