π logout automatically when refresh token fails #126
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD | ||
on: | ||
release: | ||
types: [published] | ||
createSentryRelease: | ||
name: Add Sentry release | ||
needs: deploy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Download build artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: build | ||
- name: Create a Sentry.io release | ||
uses: getsentry/action-release@v1 | ||
env: | ||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
SENTRY_ORG: twiso | ||
SENTRY_PROJECT: twiso | ||
with: | ||
version: ${{ github.event.release.tag_name }} | ||
environment: prod | ||
sourcemaps: './build/assets' |