@@ -108,7 +108,7 @@ jobs:
108108 decentraland_js_runtime_s3_bucket_key : ${{ steps.publish_dcl_js_runtime.outputs.s3-bucket-key }}
109109 decentraland_ecs_bucket_key : ${{ steps.publish_ecs.outputs.s3-bucket-key }}
110110 env :
111- IS_A_PR : github.event.pull_request.number != 'null' && github.head_ref != 'refs/heads/ protocol-squad'
111+ IS_A_PR : github.event.pull_request.number != 'null' && github.head_ref != 'protocol-squad'
112112 steps :
113113 - name : (PR) change @dcl/react-ecs dependencies versions to point to s3 url
114114 if : ${{ env.IS_A_PR }}
@@ -151,7 +151,7 @@ jobs:
151151 with :
152152 registry-url : ' https://registry.npmjs.org'
153153 custom-tag : protocol-squad
154- branch-to-custom-tag : refs/heads/ protocol-squad
154+ branch-to-custom-tag : protocol-squad
155155 access : public
156156 cwd : ./packages/@dcl/js-runtime
157157 # # use action runId instead of current date to generate snapshot numbers
@@ -162,7 +162,7 @@ jobs:
162162 s3-bucket : ${{ secrets.SDK_TEAM_S3_BUCKET }}
163163 s3-bucket-key-prefix : ' @dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/js-runtime'
164164 env :
165- BRANCH_NAME : ${{ github.ref }}
165+ BRANCH_NAME : ${{ github.head_ref }}
166166 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
167167 AWS_ACCESS_KEY_ID : ${{ secrets.SDK_TEAM_AWS_ID }}
168168 AWS_SECRET_ACCESS_KEY : ${{ secrets.SDK_TEAM_AWS_SECRET }}
@@ -173,7 +173,7 @@ jobs:
173173 with :
174174 registry-url : ' https://registry.npmjs.org'
175175 custom-tag : protocol-squad
176- branch-to-custom-tag : refs/heads/ protocol-squad
176+ branch-to-custom-tag : protocol-squad
177177 access : public
178178 cwd : ./packages/@dcl/ecs
179179 # # use action runId instead of current date to generate snapshot numbers
@@ -184,7 +184,7 @@ jobs:
184184 s3-bucket : ${{ secrets.SDK_TEAM_S3_BUCKET }}
185185 s3-bucket-key-prefix : ' @dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/ecs'
186186 env :
187- BRANCH_NAME : ${{ github.ref }}
187+ BRANCH_NAME : ${{ github.head_ref }}
188188 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
189189 AWS_ACCESS_KEY_ID : ${{ secrets.SDK_TEAM_AWS_ID }}
190190 AWS_SECRET_ACCESS_KEY : ${{ secrets.SDK_TEAM_AWS_SECRET }}
@@ -207,7 +207,7 @@ jobs:
207207 with :
208208 registry-url : ' https://registry.npmjs.org'
209209 custom-tag : protocol-squad
210- branch-to-custom-tag : refs/heads/ protocol-squad
210+ branch-to-custom-tag : protocol-squad
211211 access : public
212212 cwd : ./packages/@dcl/react-ecs
213213 # # use action runId instead of current date to generate snapshot numbers
@@ -218,7 +218,7 @@ jobs:
218218 s3-bucket : ${{ secrets.SDK_TEAM_S3_BUCKET }}
219219 s3-bucket-key-prefix : ' @dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/react-ecs'
220220 env :
221- BRANCH_NAME : ${{ github.ref }}
221+ BRANCH_NAME : ${{ github.head_ref }}
222222 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
223223 AWS_ACCESS_KEY_ID : ${{ secrets.SDK_TEAM_AWS_ID }}
224224 AWS_SECRET_ACCESS_KEY : ${{ secrets.SDK_TEAM_AWS_SECRET }}
@@ -229,7 +229,7 @@ jobs:
229229 with :
230230 registry-url : ' https://registry.npmjs.org'
231231 custom-tag : protocol-squad
232- branch-to-custom-tag : refs/heads/ protocol-squad
232+ branch-to-custom-tag : protocol-squad
233233 access : public
234234 cwd : ./packages/@dcl/inspector
235235 # # use action runId instead of current date to generate snapshot numbers
@@ -265,7 +265,7 @@ jobs:
265265 with :
266266 registry-url : ' https://registry.npmjs.org'
267267 custom-tag : protocol-squad
268- branch-to-custom-tag : refs/heads/ protocol-squad
268+ branch-to-custom-tag : protocol-squad
269269 access : public
270270 cwd : ./packages/@dcl/sdk-commands
271271 # # use action runId instead of current date to generate snapshot numbers
@@ -276,7 +276,7 @@ jobs:
276276 s3-bucket : ${{ secrets.SDK_TEAM_S3_BUCKET }}
277277 s3-bucket-key-prefix : ' @dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}'
278278 env :
279- BRANCH_NAME : ${{ github.ref }}
279+ BRANCH_NAME : ${{ github.head_ref }}
280280 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
281281 AWS_ACCESS_KEY_ID : ${{ secrets.SDK_TEAM_AWS_ID }}
282282 AWS_SECRET_ACCESS_KEY : ${{ secrets.SDK_TEAM_AWS_SECRET }}
@@ -308,7 +308,7 @@ jobs:
308308 with :
309309 registry-url : ' https://registry.npmjs.org'
310310 custom-tag : protocol-squad
311- branch-to-custom-tag : refs/heads/ protocol-squad
311+ branch-to-custom-tag : protocol-squad
312312 access : public
313313 cwd : ./packages/@dcl/sdk
314314 # # use action runId instead of current date to generate snapshot numbers
@@ -319,7 +319,7 @@ jobs:
319319 s3-bucket : ${{ secrets.SDK_TEAM_S3_BUCKET }}
320320 s3-bucket-key-prefix : ' @dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}'
321321 env :
322- BRANCH_NAME : ${{ github.ref }}
322+ BRANCH_NAME : ${{ github.head_ref }}
323323 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
324324 AWS_ACCESS_KEY_ID : ${{ secrets.SDK_TEAM_AWS_ID }}
325325 AWS_SECRET_ACCESS_KEY : ${{ secrets.SDK_TEAM_AWS_SECRET }}
@@ -336,7 +336,7 @@ jobs:
336336 with :
337337 registry-url : ' https://registry.npmjs.org'
338338 custom-tag : protocol-squad
339- branch-to-custom-tag : refs/heads/ protocol-squad
339+ branch-to-custom-tag : protocol-squad
340340 access : public
341341 cwd : ./packages/@dcl/playground-assets
342342 # # use action runId instead of current date to generate snapshot numbers
@@ -347,13 +347,13 @@ jobs:
347347 s3-bucket : ${{ secrets.SDK_TEAM_S3_BUCKET }}
348348 s3-bucket-key-prefix : ' @dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}'
349349 env :
350- BRANCH_NAME : ${{ github.ref }}
350+ BRANCH_NAME : ${{ github.head_ref }}
351351 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
352352 AWS_ACCESS_KEY_ID : ${{ secrets.SDK_TEAM_AWS_ID }}
353353 AWS_SECRET_ACCESS_KEY : ${{ secrets.SDK_TEAM_AWS_SECRET }}
354354 notify_deployment :
355355 needs : [build]
356- if : github.event.pull_request.number != 'null' && github.head_ref != 'refs/heads/ protocol-squad'
356+ if : github.event.pull_request.number != 'null' && github.head_ref != 'protocol-squad'
357357 runs-on : ubuntu-latest
358358 name : Deployment Notification
359359 steps :
0 commit comments