Files
svgl/.github/workflows/deploy-api.yml
T
pheralb d8abb88396
🧑‍🚀 Check / ⚡ Testing with Vitest (push) Has been cancelled
🧑‍🚀 Check / 📦 SVGs Size (push) Has been cancelled
🧑‍🚀 Check / 🛠️ Build app (push) Has been cancelled
🚀 Deploy / ☁️ API (push) Has been cancelled
⚙️ Update API workflow
2025-04-08 17:57:26 +01:00

29 lines
565 B
YAML

name: 🚀 Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: ☁️ API
steps:
- uses: actions/checkout@v4
- name: Setup pnpm 9
uses: pnpm/action-setup@v2
with:
version: 9
- name: Install global dependencies
run: pnpm install
- name: Deploy to Cloudflare Workers
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
packageManager: pnpm
workingDirectory: 'api-routes'