Skip to content

Commit

Permalink
chore: release before upload
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Jul 30, 2023
1 parent 974d523 commit 1bd0a67
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,18 @@ jobs:
run: pnpm install

- run: npm run generate --if-present
- uses: actions/upload-artifact@v3
with:
name: Cook Dist
path: .output/public/

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: .output/public/

- uses: actions/upload-artifact@v3
with:
name: Cook Dist
path: .output/public/

- run: npx changelogithub # or [email protected] if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

1 comment on commit 1bd0a67

@vercel
Copy link

@vercel vercel bot commented on 1bd0a67 Jul 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cook – ./

cook-yunyoujun.vercel.app
cook-git-dev-yunyoujun.vercel.app
cook-today.vercel.app
cook.yunle.app

Please sign in to comment.