Skip to content

fix: fix core tool startup errors #9

fix: fix core tool startup errors

fix: fix core tool startup errors #9

name: Publish
on:
push:
branches:
- dev
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
- name: Setup node env 🏗
uses: actions/setup-node@v3
with:
node-version: lts/gallium
- name: Install dependencies 👨🏻‍💻
run: npm install
- name: Run build
run: npm run build:website
- name: Publish
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: stt
directory: ./packages/website/dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}