Skip to content

Commit a130978

Browse files
committed
test
1 parent b71756b commit a130978

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
- created
1111
env:
1212
IS_A_PR: ${{ github.event.pull_request.number != 'null' && github.head_ref != 'protocol-squad' }}
13-
BRANCH_TAG: ${{ github.ref_name == 'experimental' && 'experimental' || (github.ref_name == 'protocol-squad' && 'protocol-squad' || '') }}
1413

1514
name: build-deploy
1615
jobs:
@@ -40,6 +39,8 @@ jobs:
4039
uses: menduz/oddish-action@master
4140
id: publish_dcl_protocol
4241
with:
42+
custom-tag: protocol-squad
43+
branch-to-custom-tag: protocol-squad
4344
registry-url: 'https://registry.npmjs.org'
4445
access: public
4546
## use action runId instead of current date to generate snapshot numbers
@@ -55,10 +56,8 @@ jobs:
5556
## inform gitlab after publishing to proceed with CDN propagation
5657
gitlab-token: ${{ secrets.GITLAB_TOKEN }}
5758
gitlab-pipeline-url: ${{ secrets.GITLAB_URL }}
58-
custom-tag: ${{ env.BRANCH_TAG }}
59-
branch-to-custom-tag: ${{ env.BRANCH_TAG }}
6059
env:
61-
BRANCH_NAME: ${{ github.ref_name }}
60+
BRANCH_NAME: ${{ github.head_ref }}
6261
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6362
AWS_DEFAULT_REGION: us-east-1
6463
AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }}

0 commit comments

Comments
 (0)