Skip to content

Commit

Permalink
docs: adjust to the spec changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdan-shulha committed Oct 17, 2024
1 parent e85918a commit 6456fc9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ jobs:
service: 'my-service-slug'
processes: |
- name: svc
dockerImage: my-service:${{ github.sha }}
workers:
- name: main
dockerImage: my-service:${{ github.sha }}
envVars:
- name: SENTRY_VERSION
value: ${{ github.sha }}
Expand All @@ -67,7 +69,7 @@ jobs:
The `processes` input should be a YAML array where each item represents a process to be deployed. Each process can have the following properties:

- `name` (required): The name of the process.
- `dockerImage` (optional): The Docker image to use for this process.
- `workers` (optional): An array of worker configurations. Each worker should have a `name` and a `dockerImage` (optional).
- `envVars` (optional): An array of environment variables for the process. Each environment variable should have a `name` and a `value`.

## Error Handling
Expand All @@ -88,7 +90,9 @@ To test the action locally, you can use the following command:
```bash
INPUT_PROCESSES=$(cat <<EOF
- name: web
dockerImage: your-service:latest
workers:
- name: main
dockerImage: your-service:latest
envVars:
- name: ENV
value: production
Expand Down

0 comments on commit 6456fc9

Please sign in to comment.