- switched bee dashboard to my own branch
All checks were successful
CI / Build & deploy Cloudflare page (push) Successful in 2m33s
CI / Build bee-dashboard docker images (push) Successful in 26m48s

- added beed dashboard deployment to Cloudflare Pages
This commit is contained in:
2025-09-10 10:24:07 +08:00
parent 9e7b5c1657
commit d633e64180
3 changed files with 24 additions and 5 deletions

View File

@@ -6,6 +6,24 @@ on:
- 'bee-dashboard/**'
- '.gitea/workflows/build-bee-dashboard.yaml'
jobs:
"Build & deploy Cloudflare page":
runs-on: hostinger
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
path: docker-images
- name: Checkout bee-dashboard sources
run: /usr/sbin/git clone -b add-redistribution-stats --depth 1 https://github.com/woggioni/bee-dashboard.git src
- name: Execute build
run: cd src && npm install
- name: Copy _headers file
run: cp docker-images/bee-dashboard/_headers src/build
- name: Deploy to Cloudflare
run: npx wrangler pages deploy --project-name bee-dashboard --branch main src/build
env:
CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
"Build bee-dashboard docker images":
runs-on: hostinger
steps:
@@ -40,4 +58,3 @@ jobs:
"gitea.woggioni.net/woggioni/bee-dashboard:0.32.0"
cache-from: type=registry,ref=gitea.woggioni.net/woggioni/bee-dashboard:buildx
cache-to: type=registry,mode=max,compression=zstd,image-manifest=true,oci-mediatypes=true,ref=gitea.woggioni.net/woggioni/bee-dashboard:buildx