Skip to content

Commit

Permalink
feat: add deploy workflow (#1)
Browse files Browse the repository at this point in the history
Added a deployment workflow that will automate deployments of checkd upon release
  • Loading branch information
willswire authored Aug 30, 2024
1 parent 293f818 commit de744df
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/deploy-worker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: deploy

on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-latest
name: deploy
steps:
- uses: actions/checkout@v4
- name: deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "checkd",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"scripts": {
"deploy": "wrangler deploy",
Expand Down
1 change: 1 addition & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ name = "checkd"
main = "src/index.ts"
compatibility_date = "2024-08-06"
compatibility_flags = ["nodejs_compat"]
workers_dev = false

0 comments on commit de744df

Please sign in to comment.