Skip to content

Commit

Permalink
Update usage example version (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
namoscato authored May 14, 2024
1 parent 3f24a24 commit 72ebdc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ jobs:
steps:
# 2. Post summary message at the beginning of your workflow
- name: Post to Slack
uses: Fieldguide/action-slack-deploy-pipeline@v1
uses: Fieldguide/action-slack-deploy-pipeline@v2
id: slack

- name: Deploy to staging
run: sleep 10 # replace with your deploy steps

# 3. Post threaded stage updates throughout
- name: Post to Slack
uses: Fieldguide/action-slack-deploy-pipeline@v1
uses: Fieldguide/action-slack-deploy-pipeline@v2
if: always()
with:
thread_ts: ${{ steps.slack.outputs.ts }}
Expand All @@ -75,7 +75,7 @@ jobs:

# 4. Post last "conclusion" stage
- name: Post to Slack
uses: Fieldguide/action-slack-deploy-pipeline@v1
uses: Fieldguide/action-slack-deploy-pipeline@v2
if: always()
with:
thread_ts: ${{ needs.staging.outputs.slack_ts }}
Expand Down

0 comments on commit 72ebdc4

Please sign in to comment.