From b5daf1a4bf44b3922b948374633ab34f7e9b7c54 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 14 Apr 2025 17:15:15 -0400 Subject: [PATCH] add gitea action to deploy pages --- .gitea/workflows/deploy.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..fb1a3b4 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,18 @@ +name: Deploy Pages +on: push +jobs: + deploy: + runs-on: ubuntu-latest + permissions: + contents: read + container: alpina:latest + timeout-minutes: 60 + steps: + - run: apk add nodejs + - uses: actions/checkout@v4 + - name: Build & Deploy Worker + uses: cloudflare/wrangler-action@v3 + with: + apiToken: ${{ secrets.CF_API_TOKEN }} + accountId: ${{ secrets.CF_ACCOUNT_ID }} + command: pages deploy . --project-name=ctmesh-org