Skip to content

Commit

Permalink
update dnr-rulesets auto deploy script. AG-35244
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit cd25df9
Author: Slava Leleka <[email protected]>
Date:   Tue Sep 3 17:01:09 2024 +0300

    update dnr-rulesets auto deploy script
  • Loading branch information
slavaleleka committed Sep 3, 2024
1 parent fadb0c0 commit ef79343
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion bamboo-specs/dnr-rulesets-auto-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,21 @@ npmjs:
artifacts:
- name: dnr-rulesets.tgz
- script:
- echo 'Task run successfully!'
interpreter: SHELL
scripts:
- |-
set -e
set -x
# Fix mixed logs
exec 2>&1
ls -alt
# Deploy to npm
export NPM_TOKEN=${bamboo.npmSecretToken}
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
npm publish dnr-rulesets.tgz --access public
requirements:
- adg-docker: 'true'
- extension: 'true'
Expand Down

0 comments on commit ef79343

Please sign in to comment.