Skip to content

Commit 7664372

Browse files
1 parent 15b77b6 commit 7664372

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ GitHub Action that deploys a [Primitive Function](https://primitive.dev) to prim
77
```yaml
88
- uses: actions/checkout@v4
99
- run: pnpm install --frozen-lockfile && pnpm build
10-
- uses: primitivedotdev/deploy-function@v1
10+
- uses: primitivedotdev/deploy-function@v0
1111
with:
1212
api-key: ${{ secrets.PRIMITIVE_API_KEY }}
1313
name: my-function
@@ -51,7 +51,7 @@ Add to it via the `ignore` input — basenames anywhere in the tree, exact match
5151
### Minimal — pre-built bundle
5252

5353
```yaml
54-
- uses: primitivedotdev/deploy-function@v1
54+
- uses: primitivedotdev/deploy-function@v0
5555
with:
5656
api-key: ${{ secrets.PRIMITIVE_API_KEY }}
5757
name: my-function
@@ -61,7 +61,7 @@ Add to it via the `ignore` input — basenames anywhere in the tree, exact match
6161
### With custom secrets and an org-id guard
6262

6363
```yaml
64-
- uses: primitivedotdev/deploy-function@v1
64+
- uses: primitivedotdev/deploy-function@v0
6565
with:
6666
api-key: ${{ secrets.PRIMITIVE_API_KEY }}
6767
expected-org-id: ${{ vars.PRIMITIVE_ORG_ID }}
@@ -82,7 +82,7 @@ Skip the build step and hand the platform your source. The platform bundles serv
8282

8383
```yaml
8484
- uses: actions/checkout@v4
85-
- uses: primitivedotdev/deploy-function@v1
85+
- uses: primitivedotdev/deploy-function@v0
8686
with:
8787
api-key: ${{ secrets.PRIMITIVE_API_KEY }}
8888
name: my-function
@@ -100,7 +100,7 @@ Skip the build step and hand the platform your source. The platform bundles serv
100100

101101
```yaml
102102
- id: deploy
103-
uses: primitivedotdev/deploy-function@v1
103+
uses: primitivedotdev/deploy-function@v0
104104
with:
105105
api-key: ${{ secrets.PRIMITIVE_API_KEY }}
106106
name: my-function

action.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
name: Deploy Primitive Function
2-
description: >-
3-
Deploys a Primitive Function to primitive.dev via the public API.
4-
Idempotent: creates the function on first run, updates the bundle
5-
on subsequent runs. Manages custom function_secrets in lockstep
6-
with the deploy and triggers a redeploy when bindings change.
2+
description: Deploy a Primitive Function to primitive.dev. Idempotent — creates on first run, updates the bundle on subsequent runs.
73
author: primitive.dev
84

95
branding:

0 commit comments

Comments
 (0)