Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
fingerartur committed Nov 28, 2023
1 parent 989f71a commit 7dd4c17
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Publish

# Test new NPM TOKEN and provenance (1 beta release)
# Test that `publish` still works (beta/non beta on dry run)

on:
release:
types: [released]
Expand Down Expand Up @@ -46,7 +49,7 @@ jobs:
aws-region: us-east-1

- name: Upload to S3
run: aws s3 cp --recursive "./dist/storybook" "${{ secrets.AWS_WEB_BUCKET }}/${{ env.WEB_PATH }}"
run: aws s3 cp --recursive --dryrun "./dist/storybook" "${{ secrets.AWS_WEB_BUCKET }}/${{ env.WEB_PATH }}"
# Note: the default cache policy is 1 day, I think that's OK for now.
# In the future if traffic increases we can increase the expiration
# as much as we want.
Expand All @@ -60,8 +63,9 @@ jobs:
uses: ./.github/actions/publish
with:
version: ${{ env.VERSION }}
# TODO change
npm-token: ${{ secrets.CLPLAYERS_NPM_TOKEN_RW }}
dry-run: false
dry-run: true

- name: Add Job summary
run: |
Expand Down

0 comments on commit 7dd4c17

Please sign in to comment.