/
githubmirror
/
tldraw
Обзор
Документация
Войти
/
githubmirror
/
tldraw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/deploy-bemo.yml
55 строк
2 KB
Steve Ruiz
chore(ci): update GitHub Actions to latest versions (#7904)
13 фев 2026, 13:34
Не верифицирован
13 фев 2026, 13:34
68b7252
Код
Авторство
О чём код?
name: Deploy bemo # TODO: add some sort of production trigger on: pull_request: push: branches: - main - bemo-production env: CI: 1 PRINT_GITHUB_ANNOTATIONS: 1 TLDRAW_ENV: ${{ (github.ref == 'refs/heads/bemo-production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} defaults: run: shell: bash jobs: deploy: name: Deploy bemo to ${{ (github.ref == 'refs/heads/bemo-production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} timeout-minutes: 15 runs-on: ubuntu-latest environment: ${{ github.ref == 'refs/heads/bemo-production' && 'bemo-production' || 'bemo-canary' }} concurrency: bemo-${{ github.ref == 'refs/heads/bemo-production' && 'bemo-production' || github.ref }} steps: # - name: Notify initial start # uses: MineBartekSA/discord-webhook@v2 # if: github.ref == 'refs/heads/bemo-production' # with: # webhook: ${{ secrets.DISCORD_DEPLOY_WEBHOOK_URL }} # content: 'Preparing ${{ env.TLDRAW_ENV }} bemo deploy: ${{ github.event.head_commit.message }} by ${{ github.event.head_commit.author.name }}' - name: Check out code uses: actions/checkout@v6 with: submodules: true - uses: ./.github/actions/setup - name: Build types run: yarn build-types - name: Deploy run: yarn tsx internal/scripts/deploy-bemo.ts env: RELEASE_COMMIT_HASH: ${{ github.sha }} GH_TOKEN: ${{ github.token }} CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} DISCORD_DEPLOY_WEBHOOK_URL: ${{ secrets.DISCORD_DEPLOY_WEBHOOK_URL }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} SENTRY_BEMO_WORKER_DSN: ${{ secrets.SENTRY_BEMO_WORKER_DSN }}