feat:修改配置

This commit is contained in:
aisouler
2024-02-01 20:08:59 +08:00
parent 6ad84c70a2
commit 8ff1e8c417
8 changed files with 22 additions and 27 deletions

View File

@@ -1,6 +1,9 @@
name: build_release
on: workflow_dispatch
on:
workflow_dispatch:
schedule:
- cron: 0 16 * * *
jobs:
build_release:
@@ -55,14 +58,4 @@ jobs:
with:
tag_name: v${{ steps.version.outputs.version }}
release_name: Release ${{ steps.version.outputs.version }}
body_path: ./CHANGELOG.md
- name: Publish package
if: ${{ steps.commit.outcome == 'success' }}
run: |
pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
pnpm publish
- name: sync npmmirror
if: ${{ steps.commit.outcome == 'success' }}
run: curl -X PUT 'https://registry-direct.npmmirror.com/@gkd-kit/subscription/sync'
body_path: ./CHANGELOG.md

View File

@@ -7,7 +7,7 @@ on:
jobs:
check:
if: github.repository == 'gkd-kit/subscription'
if: github.repository == 'AIsouler/subscription'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3