diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..e0aafbb --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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 }} diff --git a/package.json b/package.json index 9696fb1..7e963c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "cloudflare-workers-openapi", - "version": "0.0.1", + "name": "estado", + "version": "1.0.0", "private": true, "scripts": { "deploy": "wrangler deploy",