mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-17 15:25:08 +08:00
Update build_release.yml
This commit is contained in:
12
.github/workflows/build_release.yml
vendored
12
.github/workflows/build_release.yml
vendored
@@ -69,15 +69,3 @@ jobs:
|
||||
asset_path: ./dist/AIsouler_gkd.json5
|
||||
asset_name: AIsouler_gkd_${{ steps.version.outputs.version }}.json5
|
||||
asset_content_type: application/json
|
||||
|
||||
- name: Publish package
|
||||
if: ${{ steps.commit.outcome == 'success' }}
|
||||
run: |
|
||||
pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
|
||||
pnpm publish --publish-branch=main
|
||||
|
||||
- name: sync jsDelivr
|
||||
if: ${{ steps.commit.outcome == 'success' }}
|
||||
run: |
|
||||
curl -X PUT 'https://purge.jsdelivr.net/gh/AIsouler/GKD_subscription@main/dist/AIsouler_gkd.json5'
|
||||
curl -X PUT 'https://purge.jsdelivr.net/gh/AIsouler/GKD_subscription@main/dist/AIsouler_gkd.version.json'
|
||||
|
||||
Reference in New Issue
Block a user