Skip to content

feat: allow old names until after migration #21

feat: allow old names until after migration

feat: allow old names until after migration #21

Workflow file for this run

name: cloudflare
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- run: corepack enable
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm --filter api build
- name: Publish API to Cloudflare
uses: cloudflare/[email protected]
with:
workingDirectory: 'packages/api'
apiToken: ${{ secrets.CF_API_TOKEN }}
- name: Publish Scraper to Cloudflare
uses: cloudflare/[email protected]
with:
workingDirectory: 'packages/scrape-and-tweet'
apiToken: ${{ secrets.CF_API_TOKEN }}