From 5d55bc1d52f5aaecbae53d03524ef53cc8a84f62 Mon Sep 17 00:00:00 2001 From: "every.channel" Date: Mon, 16 Feb 2026 00:28:53 -0500 Subject: [PATCH] ci: use forgejo-native shell steps on hosted runners --- .forgejo/workflows/deploy-cloudflare.yml | 25 ++++-------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/.forgejo/workflows/deploy-cloudflare.yml b/.forgejo/workflows/deploy-cloudflare.yml index 28bbea7..f6a4c2a 100644 --- a/.forgejo/workflows/deploy-cloudflare.yml +++ b/.forgejo/workflows/deploy-cloudflare.yml @@ -15,28 +15,11 @@ jobs: # Available labels in this repo are: codeberg-tiny, codeberg-small, codeberg-medium. runs-on: codeberg-medium steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-node@v4 - with: - node-version: "20" - - - uses: dtolnay/rust-toolchain@stable - with: - targets: wasm32-unknown-unknown - - - name: Build Web App (Trunk) - run: | - set -euo pipefail - cargo install trunk --locked - cd apps/tauri/ui - trunk build --release --public-url / - - - name: Deploy Worker (Wrangler) + - name: Deploy website + worker env: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} run: | set -euo pipefail - cd deploy/cloudflare-worker - npm ci - npm run deploy + pwd + ls -la + ./scripts/deploy-workers.sh