From 46f54e12b76fec676cfa35e1d758a3aa452b013c Mon Sep 17 00:00:00 2001 From: PiEgg Date: Wed, 3 May 2023 19:51:06 +0800 Subject: [PATCH] :sparkles: Feature: add showDockIcon option ISSUES CLOSED: #1045 --- .github/workflows/main.yml | 3 +++ .github/workflows/manually.yml | 3 +++ scripts/cos-link.js | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 17ea7c7..6a14456 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,3 +56,6 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN }} PICGO_ENV_COS_SECRET_ID: ${{ secrets.PICGO_ENV_COS_SECRET_ID }} PICGO_ENV_COS_SECRET_KEY: ${{ secrets.PICGO_ENV_COS_SECRET_KEY }} + PICGO_ENV_S3_SECRET_ID: ${{ secrets.PICGO_ENV_S3_SECRET_ID }} + PICGO_ENV_S3_SECRET_KEY: ${{ secrets.PICGO_ENV_S3_SECRET_KEY }} + PICGO_ENV_S3_ACCOUNT_ID: ${{ secrets.PICGO_ENV_S3_ACCOUNT_ID }} diff --git a/.github/workflows/manually.yml b/.github/workflows/manually.yml index b149b47..43ccc98 100644 --- a/.github/workflows/manually.yml +++ b/.github/workflows/manually.yml @@ -53,3 +53,6 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN }} PICGO_ENV_COS_SECRET_ID: ${{ secrets.PICGO_ENV_COS_SECRET_ID }} PICGO_ENV_COS_SECRET_KEY: ${{ secrets.PICGO_ENV_COS_SECRET_KEY }} + PICGO_ENV_S3_SECRET_ID: ${{ secrets.PICGO_ENV_S3_SECRET_ID }} + PICGO_ENV_S3_SECRET_KEY: ${{ secrets.PICGO_ENV_S3_SECRET_KEY }} + PICGO_ENV_S3_ACCOUNT_ID: ${{ secrets.PICGO_ENV_S3_ACCOUNT_ID }} diff --git a/scripts/cos-link.js b/scripts/cos-link.js index a2c0afc..0f9c133 100644 --- a/scripts/cos-link.js +++ b/scripts/cos-link.js @@ -2,7 +2,7 @@ const pkg = require('../package.json') const version = pkg.version // TODO: use the same name format const generateURL = (platform, ext, prefix = 'PicGo-') => { - return `https://picgo-1251750343.cos.ap-chengdu.myqcloud.com/${version}/${prefix}${version}${platform}${ext}` + return `https://picgo-release.molunerfinn.com/${version}/${prefix}${version}${platform}${ext}` } const platformExtList = [