Skip to content

mitgliedsantrag

mitgliedsantrag #174

Workflow file for this run

name: Deploy
on:
push:
branches:
- remix
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: install
run: yarn
- name: create release
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
run: |
yarn vercel build --prod
yarn sentry-cli releases new $GITHUB_SHA
yarn sentry-upload-sourcemaps --release $GITHUB_SHA --org $SENTRY_ORG --project $SENTRY_PROJECT --urlPrefix /var/task .vercel/output/static
yarn vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
yarn sentry-cli releases finalize $GITHUB_SHA