Skip to content

fix restore event missing CityRefreshEvent #59

fix restore event missing CityRefreshEvent

fix restore event missing CityRefreshEvent #59

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- name: Create Revision
id: revision
run: echo "value=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
preCommands: |
npm run tsc
command: |
deploy --dry-run --outdir=dist --define GIT_COMMIT_SHA:"\"${{ steps.revision.outputs.value }}\""
deploy --define GIT_COMMIT_SHA:"\"${{ steps.revision.outputs.value }}\""
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
wranglerVersion: "3.105.0"
- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
sourcemaps: dist
ignore_missing: true
version: ${{ steps.revision.outputs.value }}