Skip to content

deploy on cf pages

deploy on cf pages #1

Workflow file for this run

on: [push]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: |
python3 -m venv .venv
CFLAGS=-O1 ./build.sh
cp index.html out
rm out/compiled.js
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: b8079ffa92c97010f2a8d759e24cc782
projectName: doompdf
directory: out