Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Sep 15, 2023
1 parent 07bcbdb commit 3bbadaf
Showing 1 changed file with 2 additions and 33 deletions.
35 changes: 2 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,39 +30,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: hatchboxio/github-hatchbox-deploy-action@v1
- uses: actions/checkout@v4
- uses: hatchboxio/github-hatchbox-deploy-action@v2
with:
deploy_key: ${{ secrets.HATCHBOX_DEPLOY_KEY }}
```
## Hatchbox Classic
**Hatchbox Classic**
You can find the "deploy key" in the URL on the App's Deploy tab in Hatchbox Classic. For example, it would show:
```
https://www.hatchbox.io/webhooks/github/push/XYZ
```

#### Example

```yaml
# .github/workflows/deploy.yml

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: hatchboxio/github-hatchbox-deploy-action@v1
with:
deploy_key: ${{ secrets.HATCHBOX_DEPLOY_KEY }}
classic: "true"
branch: "main"
```

0 comments on commit 3bbadaf

Please sign in to comment.