Skip to content

Commit

Permalink
Temporarily disable sentry configuration in s3 deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
fongsean committed Nov 6, 2023
1 parent efbc69c commit 9ab5dfc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/deploy_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ jobs:
run: npm ci

- name: Build application
run: |
export REACT_APP_SENTRY_RELEASE=`git rev-parse --short HEAD`
run:
npm run build -w apps/smart-forms-app
- name: Create Sentry release
run: |
export VERSION=`git rev-parse --short HEAD` && \
npx sentry-cli releases new $VERSION && \
npx sentry-cli releases set-commits $VERSION --local --ignore-empty --ignore-missing && \
npx sentry-cli releases files $VERSION upload-sourcemaps build
# export REACT_APP_SENTRY_RELEASE=`git rev-parse --short HEAD`

# - name: Create Sentry release
# run: |
# export VERSION=`git rev-parse --short HEAD` && \
# npx sentry-cli releases new $VERSION && \
# npx sentry-cli releases set-commits $VERSION --local --ignore-empty --ignore-missing && \
# npx sentry-cli releases files $VERSION upload-sourcemaps build

- name: Upload benchmark file to S3
run: aws s3 sync apps/smart-forms-app/dist s3://smart-forms-react-app/

0 comments on commit 9ab5dfc

Please sign in to comment.