A Cloudflare Worker for returning dig-like results on dig.wtf.
Test locally using wrangler.
wrangler dev
A Github Action deploy's the worker to production after it's committed to the master branch.
name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v2
- name: Publish
uses: cloudflare/wrangler-action@1.3.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
environment: 'production'