Skip to content

Commit 5cab872

Browse files
committed
deploy dev
1 parent d54a118 commit 5cab872

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ workflows:
6666
- develop
6767
- PM-4931
6868
- improve-member-search-2
69+
tags:
70+
only: /^dev-.*/
6971

7072
# Production builds are exectuted only on tagged commits to the
7173
# master branch.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"packageManager": "pnpm@11.15.0",
66
"scripts": {
77
"build": "nest build",
8+
"deploy:dev": "BRANCH=$(git rev-parse --abbrev-ref HEAD) && TAG=\"dev-${BRANCH}\" && git tag -d \"$TAG\" 2>/dev/null; git push origin \":refs/tags/$TAG\" 2>/dev/null; git tag \"$TAG\" && git push origin \"$TAG\"",
89
"start": "node dist/main.js",
910
"start:dev": "nest start --watch",
1011
"start:prod": "node dist/main.js",

0 commit comments

Comments
 (0)