From c0364e73addab4caf1d195fe80930002c30215f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=20Jurmanovi=C4=87?= Date: Fri, 6 Feb 2026 19:33:06 +0100 Subject: [PATCH] add actions --- .gitea/workflows/deploy.yaml | 16 ++++++++++++++++ index.html => public/index.html | 0 2 files changed, 16 insertions(+) create mode 100644 .gitea/workflows/deploy.yaml rename index.html => public/index.html (100%) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..0bc51f5 --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,16 @@ +name: Deploy to Cloudflare Pages +on: [push] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Publish to Cloudflare + uses: cloudflare/wrangler-action@v3 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + command: pages deploy ./public --project-name=grid-gladiators diff --git a/index.html b/public/index.html similarity index 100% rename from index.html rename to public/index.html