diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 0cbf5ae..8924600 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -150,6 +150,15 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + - name: Sentry Release + uses: getsentry/action-release@v1 + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: 'tesselo' + SENTRY_PROJECT: 'giges' + with: + environment: 'staging' + version: ${{ github.sha }} deploy-production: name: Deploy to Production @@ -174,4 +183,13 @@ jobs: zappa update production --disable_progress env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} \ No newline at end of file + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + - name: Sentry Release + uses: getsentry/action-release@v1 + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: 'tesselo' + SENTRY_PROJECT: 'giges' + with: + environment: 'production' + version: ${{ github.sha }}