mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-17 15:25:08 +08:00
feat:修改配置
This commit is contained in:
17
.github/workflows/build_release.yml
vendored
17
.github/workflows/build_release.yml
vendored
@@ -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
|
||||
2
.github/workflows/pull_request_check.yml
vendored
2
.github/workflows/pull_request_check.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user