Skip to content

use b64 to embed wad and compile with optimizations #3

use b64 to embed wad and compile with optimizations

use b64 to embed wad and compile with optimizations #3

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
source .venv/bin/activate
pip3 install -r requirements.txt
CFLAGS=-O3 ./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