Skip to content

worker-deploy 0.1.8

Install from the command line:
Learn more about npm packages
$ npm install @nephelaiio/worker-deploy@0.1.8
Install via package.json:
"@nephelaiio/worker-deploy": "0.1.8"

About this version

Worker Deploy

Test Deploy

Worker deploy is an NPM package that uses Cloudflare Workers API to automate Cloudflare Worker and Secret deployments

Usage

Add the following steps to your CI configuration at the appropriate stages

- name: Deploy Cloudflare worker with custom domain
  run: |
    echo Deploying worker "$WORKER"; \
    npx @nephelaiio/worker-deploy -- \
       deploy \
       --verbose \
       --literal LITERAL:true \
       --variable ENVVAR \
       --secret ENVSECRET \
       --name "$WORKER" \
       --route "$FQDN/*"

- name: Destroy Cloudflare worker
  run: |
    echo Deploying worker "$WORKER"; \
    npx @nephelaiio/worker-deploy -- \
       delete \
       --verbose \
       --name "$WORKER"

Contributing

We welcome contributions to this project! To get started, fork the repository and create a new branch for your changes. When you're ready to submit your changes, create a pull request.

Here's a list of planned tasks for the project:

  • Add support for running as a Github Action
  • Add support for email routing
  • Add support for deploying and linking Durable Objects
  • Add support for deploying, linking and initializing D1 DBs

Before submitting a pull request, please ensure that your code follows our code style guidelines and that all tests pass. You can run tests with the command npm test.

License

This project is licensed under the MIT License.

Details


Assets

  • worker-deploy-0.1.8.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0