kind: pipeline name: build steps: - name: fix link image: bash commands: - bash fix.sh - name: build image: klakegg/hugo:alpine commands: - hugo - name: render links image: python:3.10.6 commands: - pip install beautifulsoup4 lxml - python soup.py - name: deploy image: node environment: CLOUDFLARE_API_TOKEN: from_secret: api_token CLOUDFLARE_ACCOUNT_ID: from_secret: account_id commands: - npm install -g wrangler - npx wrangler pages deploy public --project-name garden --commit-dirty=true