ci: testing upload build script

This commit is contained in:
Chubby Granny Chaser 2024-12-09 22:59:40 +00:00
parent 235045dec4
commit 5b104ecb42
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -23,6 +23,7 @@ jobs:
run: yarn
- name: Test Upload build
if: ${{ secrets.BUILD_WEBHOOK_URL }}
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}

View File

@ -13,9 +13,9 @@ const s3 = new S3Client({
},
});
const dist = path.resolve(__dirname, "..", "dist");
const dist = path.resolve(__dirname, "..", "resources");
const extensionsToUpload = [".deb", ".exe"];
const extensionsToUpload = [".deb", ".exe", ".png"];
fs.readdir(dist, async (err, files) => {
if (err) throw err;