Skip to content

Commit

Permalink
ci: stop publishing preleases to CDN (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mercy811 authored Jun 13, 2024
1 parent d00981e commit 0bc7f95
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/feature-branch-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ jobs:
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > ~/.npmrc
npm whoami
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: arn:aws:iam::358203115967:role/github-actions-role
aws-region: us-west-2

# Converted to all lowercase and stripped of non-letter characters
- name: Transform feature branch name
run: |
Expand All @@ -109,6 +103,5 @@ jobs:
- name: Publish Release to NPM
if: ${{ github.event.inputs.releaseType == 'prerelease' }}
run: |
GH_TOKEN=${{ secrets.GH_PUBLISH_TOKEN }} npm run deploy:publish -- from-git -y
env:
S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }}
GH_TOKEN=${{ secrets.GH_PUBLISH_TOKEN }} npm run deploy:publish -- from-git -y --ignore-scripts

0 comments on commit 0bc7f95

Please sign in to comment.