ci: publish setup
Build & Deploy (CF Workers) / build-deploy (push) Failing after 1m0s

This commit is contained in:
yigid authored and Yigid BALABAN committed 2026-11-01 15:24:35 +03:00
1 parent f5e0ec64e4
commit a1b102990a
15 files changed
+4042 -18

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
name: Build & Deploy (CF Workers)
on:
push:
branches: ["master"]
workflow_dispatch:
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up pnpm
uses: pnpm/setup@v1
with:
version: 11
runtime: node@24
cache: true
- name: Build
run: pnpm build
- name: Deploy to Cloudflare Workers
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
run: pnpm exec wrangler deploy --message "${{ github.sha }}"