Skip to content

Correctly type Job.dispatch (#64) #70

Correctly type Job.dispatch (#64)

Correctly type Job.dispatch (#64) #70

Workflow file for this run

name: Publish
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
publish_docs:
name: Publish Docs
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7.26.2
- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: Install Dependencies
run: pnpm i
- name: Build
working-directory: apps/site
run: pnpm build
- name: Publish Docs Site
uses: cloudflare/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
workingDirectory: "apps/site"
command: publish -j