Skip to content

Commit

Permalink
update dnr-rulesets deploy spec
Browse files Browse the repository at this point in the history
  • Loading branch information
zhelvis committed Jun 17, 2024
1 parent 573ae5b commit 7520216
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions bamboo-specs/dnr-rulesets-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,10 @@ environments:
- npmjs

npmjs:
docker:
image: adguard/node-ssh:18.19--0
volumes:
${system.PNPM_DIR}: "${bamboo.cachePnpm}"
triggers: [ ]
tasks:
- checkout:
force-clean-build: 'true'
- artifact-download:
artifacts:
- name: dnr-rulesets.tgz
- script:
interpreter: SHELL
scripts:
- |-
set -e
set -x
# Fix mixed logs
exec 2>&1
ls -alt
export NPM_TOKEN=${bamboo.npmSecretToken}
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
npm publish dnr-rulesets.tgz --access public
requirements:
- adg-docker: 'true'
- echo 'Task run successfully!'
notifications:
- events:
- deployment-started-and-finished
Expand Down

0 comments on commit 7520216

Please sign in to comment.