Skip to content

Commit

Permalink
use only one action for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
gonpombo8 committed Dec 13, 2024
1 parent a8863be commit 625a635
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 50 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ on:
push:
branches:
- main
- experimental
pull_request:
release:
types:
- created

env:
BRANCH_TAG: ${{ github.ref_name == 'experimental' && 'experimental' || '' }}

name: build-deploy
jobs:
check_and_build:
Expand Down Expand Up @@ -43,7 +47,10 @@ jobs:
## inform gitlab after publishing to proceed with CDN propagation
gitlab-token: ${{ secrets.GITLAB_TOKEN }}
gitlab-pipeline-url: ${{ secrets.GITLAB_URL }}
custom-tag: ${{ env.BRANCH_TAG }}
branch-to-custom-tag: ${{ env.BRANCH_TAG }}
env:
BRANCH_NAME: ${{ github.ref_name }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
AWS_DEFAULT_REGION: us-east-1
AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }}
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/experimental-publish.yml

This file was deleted.

0 comments on commit 625a635

Please sign in to comment.