Files
wgcs.tech/.gitea/workflows/deploy-to-cloudflare.yaml
T
ryan.mcgee 8cbc6f2e66
Deploy to Cloudflare CDN / Deploy to cloudflare (push) Failing after 9s
bump wrangler version and fix
2026-03-05 15:18:41 -06:00

28 lines
897 B
YAML

name: Deploy to Cloudflare CDN
run-name: ${{ gitea.actor }} is deploying the site to Cloudflare
on: [push]
jobs:
build-and-deploy:
name: Deploy to cloudflare
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
# - name: Pull Zola binary
# run: |
# wget https://github.com/getzola/zola/releases/download/v0.21.0/zola-v0.21.0-x86_64-unknown-linux-gnu.tar.gz
# - name: Unzip binary
# run: |
# tar -xf zola-v0.21.0-x86_64-unknown-linux-gnu.tar.gz
# - name: Build Site
# run: |
# ./zola build
- name: Deploy
uses: cloudflare/wrangler-action@v4.70.0
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
# accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
# command: pages deploy public --project-name=minecraft-enclaveis-com