Skip to content

Commit

Permalink
chore: add deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
willswire committed Jul 15, 2024
1 parent e8d8b9c commit 5d13812
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy

on:
release:
types:
- published

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 }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudflare-workers-openapi",
"version": "0.0.1",
"name": "estado",
"version": "1.0.0",
"private": true,
"scripts": {
"deploy": "wrangler deploy",
Expand Down

0 comments on commit 5d13812

Please sign in to comment.