Skip to content

Commit

Permalink
removed separation
Browse files Browse the repository at this point in the history
  • Loading branch information
kwek20 committed Jun 11, 2024
1 parent 2540d5e commit 426af6a
Showing 1 changed file with 7 additions and 24 deletions.
31 changes: 7 additions & 24 deletions .github/workflows/main_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
build_web:
runs-on: ubuntu-latest
environment: staging
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_RELEASE: ${{ github.sha }}
steps:
- uses: actions/checkout@v4
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
Expand All @@ -29,31 +32,11 @@ jobs:
run: ./scripts/prepare-web.sh
- name: Build Release Web
run: ./scripts/build-web.sh
- name: Update sentry
run: dart run sentry_dart_plugin

- name: Upload files
uses: actions/upload-artifact@v3
with:
name: web
path: build/web

update_sentry:
runs-on: ubuntu-latest
needs: build_web
environment: staging
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_RELEASE: ${{ github.sha }}
steps:
- uses: actions/checkout@v4
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: Download web
uses: actions/download-artifact@v3
with:
name: web
path: build/web
- name: test
run: echo ${{ vars.SENTRY_ORG }}
- name: Update sentry
run: dart run sentry_dart_plugin
path: build/web

0 comments on commit 426af6a

Please sign in to comment.