Skip to content

Truncate 'In Theaters' page title #46

Truncate 'In Theaters' page title

Truncate 'In Theaters' page title #46

Workflow file for this run

name: Deploy to Cloudflare Workers
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
environment:
name: production
url: https://dashboard.malstrom.me
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Mise
uses: jdx/mise-action@v2
- name: Cache Bun dependencies
uses: actions/cache@v3
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install dependencies
run: bun install
- name: Cache build output
uses: actions/cache@v3
with:
path: build
key: >-
"${{ runner.os }}-build-${{ hashFiles(
'bun.lock',
'react-router.config.ts',
'vite.config.ts',
'tsconfig.ts',
'tsconfig.*.ts',
'worker-configuration.d.ts',
'app/**/*.ts',
'app/**/*.tsx',
'app/**/*.css',
'app/**/*.json',
'app/**/*.md'
) }}"
- name: Bump build output timestamps
run: |
if [ -d build ]; then
touch build
find build -exec touch {} +
fi
- name: Build
run: mise run build
- name: Deploy to Cloudflare Workers
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: deploy --config build/server/wrangler.json