Skip to content

Commit 3bbadaf

Browse files
committed
Update readme
1 parent 07bcbdb commit 3bbadaf

File tree

1 file changed

+2
-33
lines changed

1 file changed

+2
-33
lines changed

README.md

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -30,39 +30,8 @@ jobs:
3030
build:
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@v1
34-
- uses: hatchboxio/github-hatchbox-deploy-action@v1
33+
- uses: actions/checkout@v4
34+
- uses: hatchboxio/github-hatchbox-deploy-action@v2
3535
with:
3636
deploy_key: ${{ secrets.HATCHBOX_DEPLOY_KEY }}
3737
```
38-
39-
## Hatchbox Classic
40-
41-
**Hatchbox Classic**
42-
43-
You can find the "deploy key" in the URL on the App's Deploy tab in Hatchbox Classic. For example, it would show:
44-
```
45-
https://www.hatchbox.io/webhooks/github/push/XYZ
46-
```
47-
48-
#### Example
49-
50-
```yaml
51-
# .github/workflows/deploy.yml
52-
53-
on:
54-
push:
55-
branches:
56-
- main
57-
58-
jobs:
59-
build:
60-
runs-on: ubuntu-latest
61-
steps:
62-
- uses: actions/checkout@v1
63-
- uses: hatchboxio/github-hatchbox-deploy-action@v1
64-
with:
65-
deploy_key: ${{ secrets.HATCHBOX_DEPLOY_KEY }}
66-
classic: "true"
67-
branch: "main"
68-
```

0 commit comments

Comments
 (0)