Skip to content

Commit

Permalink
Merge pull request #2 from gbh-tech/ci-RI-4198-fix-publish-action
Browse files Browse the repository at this point in the history
ci: (RI-4198) Fix publish actions
  • Loading branch information
javiercm1410 authored Sep 4, 2024
2 parents 7e1627a + 599b042 commit 8587bbd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/s3-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit 8587bbd

Please sign in to comment.