An open API service indexing awesome lists of open source software.

https://github.com/drivly/deploy-worker-experiment

GitHub Action for Rapid Cloudflare Worker Deployment
https://github.com/drivly/deploy-worker-experiment

Last synced: 4 months ago
JSON representation

GitHub Action for Rapid Cloudflare Worker Deployment

Awesome Lists containing this project

README

        

# deploy-worker
GitHub Action for Rapid Cloudflare Worker Deployment

```yaml
name: Deploy

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v3
- uses: drivly/deploy-worker
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
name: workers-do
main: worker.js
route:
pattern: '*/*'
zoneName: workers.do
usageModel: unbound
compatibilityDate: '2021-09-13'
```