From 599b0423eb3c5f3eb63c2e2543c39fc5ca8fc9d7 Mon Sep 17 00:00:00 2001 From: Javier Carrillo Date: Wed, 4 Sep 2024 16:12:17 -0400 Subject: [PATCH] ci: (RI-4198) Fix publish actions --- .github/workflows/release.yml | 2 +- .github/workflows/s3-upload.yml | 2 +- package.json | 11 +++++++++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ffbcb58..be72d32 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: task build task compress - - name: 🚀 Run new version for production + - name: 🚀 Release a new version run: npx release-it --ci env: GITHUB_TOKEN: ${{ secrets.DEVOPS_USER_TOKEN }} diff --git a/.github/workflows/s3-upload.yml b/.github/workflows/s3-upload.yml index df5a83d..e2708f1 100644 --- a/.github/workflows/s3-upload.yml +++ b/.github/workflows/s3-upload.yml @@ -43,4 +43,4 @@ jobs: task compress - name: 🚀 Upload binaries to S3 - run: aws s3 cp ./dist ${BUCKET}/${NAME} --acl public-read + run: aws s3 cp ./dist ${BUCKET}/${NAME} --recursive --acl public-read diff --git a/package.json b/package.json index 5e2b3de..dbf3cd7 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "dot env file generator based on multiple providers", "module": "cli.ts", "license": "MIT", + "private" : true, "type": "module", "scripts": { "build": "bun build --target=bun ./cli.ts --outdir dist/", @@ -61,8 +62,14 @@ "tagExclude": "*[-]*", "push": true, "release": true, - "pushArgs": ["--no-verify", "--follow-tags", "--force"], - "commitArgs": ["--no-verify"] + "pushArgs": [ + "--no-verify", + "--follow-tags", + "--force" + ], + "commitArgs": [ + "--no-verify" + ] }, "plugins": { "@release-it/conventional-changelog": {