Skip to content

Update dev-deploy.yaml #2

Update dev-deploy.yaml

Update dev-deploy.yaml #2

Workflow file for this run

on:
push:
branches:
- main
name: public-api-dev-deploy
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: "Install dependencies"
run: cd public-api && npm install
- name: "Upload worker code to CloudFlare"
run: cd public-api && npm run publish
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}