Skip to content

Commit

Permalink
Edit .onedev-buildspec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Codycody31 committed Dec 1, 2023
1 parent 0077545 commit 80b16c7
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .onedev-buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,31 @@ jobs:
maxRetries: 3
retryDelay: 30
timeout: 3600
- name: Deploy
steps:
- !CheckoutStep
name: checkout
cloneCredential: !DefaultCredential {}
withLfs: false
withSubmodules: false
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
- !CommandStep
name: publish
runInContainer: true
image: node:18
interpreter: !DefaultInterpreter
commands:
- npm publish --access public
useTTY: false
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
triggers:
- !TagCreateTrigger
branches: main
jobDependencies:
- jobName: Build
requireSuccessful: true
artifacts: '**'
retryCondition: never
maxRetries: 3
retryDelay: 30
timeout: 3600

0 comments on commit 80b16c7

Please sign in to comment.