Skip to content

Commit

Permalink
Merge branch 'hjohns/next/widgets' of https://github.com/RDFLib/prez-ui
Browse files Browse the repository at this point in the history
… into hjohns/next/widgets
  • Loading branch information
hjohns committed Apr 13, 2024
2 parents 9533a12 + af725e2 commit 7300c0c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/push_to_next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build & push Storybook & Prez UI demo site to AWS
on:
push:
branches:
- next
- hjohns/next/widgets
workflow_dispatch:

jobs:
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Build prez-ui
working-directory: ./prez-ui
env:
NUXT_PUBLIC_API_URL: ${{ secrets.NEXT_API_URL }}
NUXT_PUBLIC_API_URL: ${{ secrets.NEXT_WIDGETS_API_URL }}
run: CI=false pnpm generate
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
Expand All @@ -38,12 +38,12 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-southeast-2
- name: Clear Storybook S3 bucket
run: aws s3 rm s3://${{ secrets.NEXT_STORYBOOK_S3_BUCKET_NAME }} --recursive
run: aws s3 rm s3://${{ secrets.NEXT_WIDGETS_STORYBOOK_S3_BUCKET_NAME }} --recursive
- name: Upload Storybook to S3
working-directory: ./prez-components
run: aws s3 cp storybook-static/ s3://${{ secrets.NEXT_STORYBOOK_S3_BUCKET_NAME }} --recursive
run: aws s3 cp storybook-static/ s3://${{ secrets.NEXT_WIDGETS_STORYBOOK_S3_BUCKET_NAME }} --recursive
- name: Clear Prez UI S3 bucket
run: aws s3 rm s3://${{ secrets.NEXT_PREZUI_S3_BUCKET_NAME }} --recursive
run: aws s3 rm s3://${{ secrets.NEXT_WIDGETS_PREZUI_S3_BUCKET_NAME }} --recursive
- name: Upload Prez UI to S3
working-directory: ./prez-ui
run: aws s3 cp dist/ s3://${{ secrets.NEXT_PREZUI_S3_BUCKET_NAME }} --recursive
run: aws s3 cp dist/ s3://${{ secrets.NEXT_WIDGETS_PREZUI_S3_BUCKET_NAME }} --recursive

0 comments on commit 7300c0c

Please sign in to comment.