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