Skip to content

Commit

Permalink
notify me on deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
John Ottenlips authored and John Ottenlips committed Jan 18, 2024
1 parent a788c9f commit d3b0f2e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/notify-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "WODaboard"
on:
push:
branches:
- main

jobs:
wod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: |
curl \
-X POST \
-H "x-vestaboard-api-key: $VB_SUB_KEY" \
-H "x-vestaboard-api-secret: $VB_SUB_SECRET" \
-d '{"text": "{64}New Wodaboard Deployment{64}"}' \
https://subscriptions.vestaboard.com/subscriptions/$VB_SUB_ID/message
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VB_SUB_ID: ${{ secrets.VB_SUB_ID }}
VB_SUB_KEY: ${{ secrets.VB_SUB_KEY }}
VB_SUB_SECRET: ${{ secrets.VB_SUB_SECRET }}

0 comments on commit d3b0f2e

Please sign in to comment.