Skip to content

Commit

Permalink
Merge pull request #7 from EchoesHQ/fix-readme-pinned-version
Browse files Browse the repository at this point in the history
Fix pinned version in examples
  • Loading branch information
AdrienFromToulouse authored Jan 21, 2025
2 parents ecc7203 + b999ae6 commit 8f67460
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ steps:
fetch-depth: 0

- name: Post deploy
uses: EchoesHQ/deployments-action@v1
uses: EchoesHQ/deployments-action@v1.3.0
id: post-deploy
env:
ECHOES_API_KEY: ${{ secrets.ECHOESHQ_API_KEY }}
Expand All @@ -53,7 +53,7 @@ See [Examples](#examples) below for more details.
```yaml
- name: Post status
uses: EchoesHQ/deployments-action@v1
uses: EchoesHQ/deployments-action@v1.3.0
with:
action-type: post-status
deployment-id: ${{ steps.post-deploy.outputs.deployment_id }}
Expand All @@ -66,7 +66,7 @@ See [Examples](#examples) below for more details.
```yaml
- name: Post a deployment
uses: EchoesHQ/deployments-action@v1
uses: EchoesHQ/deployments-action@v1.3.0
with:
# Optional. Can either be `post-deploy` or `post-status`. Defaults to `post-deploy`.
action-type: string
Expand All @@ -82,7 +82,7 @@ See [Examples](#examples) below for more details.
```yaml
- name: Post a deployment status
uses: EchoesHQ/deployments-action@v1
uses: EchoesHQ/deployments-action@v1.3.0
with:
# Required.
action-type: post-status
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
uses: actions/checkout@v3
- name: Post deploy to Echoes
uses: EchoesHQ/deployments-action@v1
uses: EchoesHQ/deployments-action@v1.3.0
id: post-deploy
with:
commits: |-
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
echo "Deploying something..."
- name: Post deploy status
uses: EchoesHQ/deployments-action@v1
uses: EchoesHQ/deployments-action@v1.3.0
with:
action-type: post-status
# Grab the deployment_id from the job that was responsible for posting the deployment.
Expand Down

0 comments on commit 8f67460

Please sign in to comment.